chore: 官网拆分 homepage + 关于页瘦身 + 端口 5175(当前可用状态基线)
This commit is contained in:
1 parent
5eb11826db
commit
be151cb68f
85 files changed
+4420
-1530
No files matched your search
@@ -29,4 +29,8 @@ describe('settings migration', () => {
|
||||
const settings = normalizeAppSettings({ language: 'fr-FR' })
|
||||
expect(isAppLanguage(settings.language)).toBe(true)
|
||||
})
|
||||
it('rejects unsupported saved themes', () => {
|
||||
expect(normalizeAppSettings({ theme: 'invalid' }).theme).toBe('dark')
|
||||
expect(normalizeAppSettings({ theme: 'system' }).theme).toBe('system')
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user