mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-10-06 13:54:10 +08:00
feat: 隐藏设置里的防撤回入口,历史开启强制收敛为 false
This commit is contained in:
@@ -22,4 +22,11 @@ describe('settings navigation', () => {
|
||||
)
|
||||
expect(SETTINGS_CATEGORY_LABELS['storage-export']).toBe('存储与导出')
|
||||
})
|
||||
|
||||
it('hides recall protection from visible navigation', () => {
|
||||
expect(SETTINGS_NAVIGATION.flatMap((group) => group.items)).not.toEqual(
|
||||
expect.arrayContaining([{ id: 'recall-protection', label: '防撤回' }])
|
||||
)
|
||||
expect(SETTINGS_CATEGORY_LABELS['recall-protection']).toBe('防撤回')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user