This commit is contained in:
@@ -31,6 +31,11 @@ describe('mobile navigation styles', () => {
|
||||
})
|
||||
|
||||
describe('task and habit row decoration', () => {
|
||||
it('removes the redundant habit refresh action', () => {
|
||||
expect(mvpPanel).not.toContain('<RefreshCw />刷新')
|
||||
expect(mvpPanel).not.toContain('RefreshCw,')
|
||||
})
|
||||
|
||||
it('supports vertical drag handles for reordering tasks and habits', () => {
|
||||
expect(app.match(/class="drag-handle task-drag-handle"/g)?.length).toBe(2)
|
||||
expect(app).toContain('@pointerdown.stop="startTaskReorder')
|
||||
|
||||
Reference in New Issue
Block a user