Trek_CN/client/tests/unit/stores
jubnl a07e76c740
fix(login): address review feedback on language dropdown PR
- Fix import path: use i18n barrel instead of TranslationContext directly
- Encapsulate localStorage key behind hasStoredLanguage() helper in settingsStore
- Fix pt-BR detection: only map pt-BR to br, pt-PT now returns null correctly
- Add comment linking server SUPPORTED_LANG_CODES to canonical client source
- Extract /api/config inline handler to routes/publicConfig.ts
- Add aria-haspopup, aria-expanded, role=listbox/option, aria-selected to dropdown
- Add 8 tests for detectBrowserLanguage (FE-COMP-I18N-016–023)
- Add 3 tests for setLanguageTransient (FE-STORE-SETTINGS-015–017)
2026-04-15 03:04:25 +02:00
..
addonStore.test.ts test(front): add test suite frontend (WIP) 2026-04-07 12:31:09 +02:00
authStore.test.ts fix(pwa): fix offline session redirect and file download auth (#505 #541) 2026-04-14 21:48:25 +02:00
inAppNotificationStore.test.ts test(client): expand frontend test suite to 69.1% coverage 2026-04-07 21:56:08 +02:00
permissionsStore.test.ts test(front): add test suite frontend (WIP) 2026-04-07 12:31:09 +02:00
settingsStore.test.ts fix(login): address review feedback on language dropdown PR 2026-04-15 03:04:25 +02:00
vacayStore.test.ts test: expand frontend test suite to 82% coverage 2026-04-08 21:14:49 +02:00