feat: remove formatISO from list-view-gantt.spec #2922

Merged
konrad merged 1 commits from dpschen/frontend:feature/remove-formatISO-from-list-view-gantt.spec into main 2023-01-05 13:27:06 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ describe('List View Gantt', () => {
const now = new Date()
TaskFactory.create(1, {
start_date: formatISO(now),
end_date: formatISO(now.setDate(now.getDate() + 4)),
start_date: now.toISOString(),
end_date: new Date(new Date(now).setDate(now.getDate() + 4)).toISOString(),
})
cy.visit('/lists/1/gantt')