Language switch button unit test #108

Merged
jakob.scheid merged 23 commits from testing/language-switch into main 2026-06-04 13:46:17 +02:00
Showing only changes of commit 1c3175a3e4 - Show all commits
@@ -37,4 +37,12 @@ vi.mock('@/features/icons/components/Icon.vue', () => ({
name: 'Icon',
template: '<span>Icon</span>'
}
}));
}));
describe('LanguageSwitchButton.vue', () => {
beforeEach(() => {
vi.clearAllMocks();
localStorage.clear();
document.documentElement.lang = '';
document.documentElement.dir = '';
});