feat: add habits to today overview
This commit is contained in:
@@ -159,6 +159,12 @@ describe('task and habit row decoration', () => {
|
||||
expect(app).toContain('class="today-board"')
|
||||
expect(app).toContain('todayOpenTasks')
|
||||
expect(app).toContain('todayCompletedTasks')
|
||||
expect(app).toContain('todayHabitProgress')
|
||||
expect(app).toContain('习惯打卡')
|
||||
expect(app).toContain('@summary="updateTodayHabitSummary"')
|
||||
expect(mvpPanel).toContain("summary: [value: { total: number; completed: number }]")
|
||||
expect(mvpPanel).toContain('const todayHabitSummary = computed')
|
||||
expect(mvpPanel).toContain("emit('summary', value)")
|
||||
expect(app).toContain('taskComposeTitle')
|
||||
expect(app).toContain('添加今天任务')
|
||||
expect(app).toContain('v-if="activeView===\'trash\' || totalPages > 1 || totalTasks > 0"')
|
||||
|
||||
Reference in New Issue
Block a user