This commit is contained in:
@@ -42,6 +42,9 @@ describe('task and habit row decoration', () => {
|
||||
expect(mvpPanel).toContain("request('/habits/reorder'")
|
||||
expect(css).toContain('.drag-handle{')
|
||||
expect(css).toContain('.reordering{')
|
||||
expect(css).toContain('var(--reorder-y,0px)')
|
||||
expect(app).toContain("'--reorder-y': `${taskReorder?.id === node.task.id ? taskReorder.offsetY : 0}px`")
|
||||
expect(mvpPanel.match(/'--reorder-y': `\$\{habitReorder\?\.id === h\.id \? habitReorder\.offsetY : 0\}px`/g)?.length).toBe(2)
|
||||
})
|
||||
|
||||
it('supports pointer dragging for desktop task and subtask completion', () => {
|
||||
|
||||
Reference in New Issue
Block a user