feat: 更新统计卡片描述,优化可读性
CI / verify (push) Successful in 1m41s
CI / 部署到服务器 (push) Successful in 26s

This commit is contained in:
chenshoulin
2026-10-24 18:58:06 +08:00
parent da8fb5fe81
commit 5133bf768c
3 changed files with 11 additions and 20 deletions
+2 -2
View File
@@ -159,9 +159,9 @@ describe('App 路由', () => {
await nextTick()
const values = wrapper.findAll('dd').map((node) => node.text())
// 统计带 = [逾期, 今天到期, 进行中, 待办]:刚完成的任务不进任何分组,四格都应是 0
// 统计卡 = [逾期, 今天到期, 进行中, 待办]:刚完成的任务不进任何分组,四格都应是 0
expect(values).toEqual(['0', '0', '0', '0'])
// 「本周完成」已移到页头副标题,不再占统计格
// 「本周完成」跟在页头日期后面,不占统计格
expect(wrapper.find('[data-role="completed-this-week"]').text()).toBe('1')
wrapper.unmount()
})