fix: remove standalone data import tool
ci / docker (push) Successful in 3m43s

This commit is contained in:
2026-09-08 10:10:08 +08:00
parent f53b40ac67
commit 84e14f39e0
2 changed files with 13 additions and 19 deletions
+12
View File
@@ -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()')