Some clean up stuff
All checks were successful
Build, Test & Push Frontend / quality-check (pull_request) Successful in 1m18s
Build, Test & Push Frontend / docker (pull_request) Has been skipped

This commit is contained in:
Andreas Dahm
2026-08-26 11:43:53 +02:00
parent db2bc7ab97
commit 16142178f4
6 changed files with 57 additions and 14 deletions

View File

@@ -14,12 +14,15 @@ describe('LanguageService', () => {
return TestBed.inject(LanguageService);
}
const documentLanguage = document.documentElement.lang;
beforeEach(() => {
localStorage.clear();
});
afterEach(() => {
localStorage.clear();
document.documentElement.lang = documentLanguage;
});
it('uses the stored language as the initial value', () => {