Skip to content

Commit

Permalink
fix: test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markuczy committed Jul 15, 2024
1 parent d20c0fe commit 6f2f5be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('CachingTranslateLoader', () => {
}).compileComponents()
http = TestBed.inject(HttpClient)
translationCache = TestBed.inject(TranslationCacheService)
window['onecxTranslations'] = {}
})

it('should get translations', (done) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ describe('CreateTranslateLoader', () => {
}).compileComponents()
environmentInjector = TestBed.inject(EnvironmentInjector)
translationCacheService = TestBed.inject(TranslationCacheService)
window['onecxTranslations'] = {}
jest.clearAllMocks()
})

Expand Down

0 comments on commit 6f2f5be

Please sign in to comment.