This commit is contained in:
@@ -159,6 +159,10 @@ describe('task and habit row decoration', () => {
|
||||
expect(css).toContain('.password-form{width:100%;display:grid;gap:10px}')
|
||||
})
|
||||
|
||||
it('strikes through completed habit names', () => {
|
||||
expect(css).toContain('.habit-row.done .habit-name{color:var(--accent);text-decoration:line-through')
|
||||
})
|
||||
|
||||
it('keeps habit cards borderless so the rounded left edge has no visual gap', () => {
|
||||
expect(css).toMatch(/\.habit-row\{border:0;/)
|
||||
expect(css).not.toMatch(/\.habit-row\{[^}]*border-top:/)
|
||||
|
||||
Reference in New Issue
Block a user