This commit is contained in:
@@ -191,6 +191,18 @@ describe('mobile touch targets', () => {
|
||||
})
|
||||
})
|
||||
|
||||
describe('settings data tools', () => {
|
||||
it('keeps backup export and restore but removes the standalone import tool', () => {
|
||||
expect(mvpPanel).toContain('<h3>数据导出与恢复</h3>')
|
||||
expect(mvpPanel).toContain('@click="exportData"')
|
||||
expect(mvpPanel).toContain('@click="restore"')
|
||||
expect(mvpPanel).not.toContain('<h3>导入</h3>')
|
||||
expect(mvpPanel).not.toContain("request('/import/ticktick")
|
||||
expect(mvpPanel).not.toContain('importFile')
|
||||
expect(mvpPanel).not.toContain('importPreview')
|
||||
})
|
||||
})
|
||||
|
||||
describe('unified floating add interaction', () => {
|
||||
it('defaults every new-task composer to today', () => {
|
||||
expect(app).toContain('composeDueAt.value = defaultTaskDueAt()')
|
||||
|
||||
Reference in New Issue
Block a user