feat: unify task and habit pages with Today
This commit is contained in:
@@ -23,7 +23,7 @@ describe('Today independent collapsible sections', () => {
|
||||
expect(app).toContain(`:aria-expanded="!todaySectionCollapse.${section}"`)
|
||||
if (section === 'tasks') {
|
||||
expect(app).toContain(":id=\"activeView==='today' ? 'today-tasks' : undefined\"")
|
||||
expect(app).toContain(":aria-labelledby=\"activeView==='today' ? 'today-tasks-heading' : undefined\"")
|
||||
expect(app).toContain(":aria-labelledby=\"activeView==='today' ? 'today-tasks-heading' : activeView==='tasks' ? 'task-list-title' : undefined\"")
|
||||
} else {
|
||||
expect(app).toContain(`id="today-${section}"`)
|
||||
expect(app).toContain(`aria-labelledby="today-${section}-heading"`)
|
||||
|
||||
Reference in New Issue
Block a user