Skip to content

Commit

Permalink
fix: Fix test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
cstuncsik committed Jan 25, 2024
1 parent 4c5da54 commit cfa599c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@ export const workflows = [
{ id: '3', name: 'tag3' },
],
},
].map((wf) => ({ ...wf, createdAt: faker.date.recent().toISOString() })) as IWorkflowDb[];
].map((wf, idx) => ({
...wf,
createdAt: faker.date.recent().toISOString(),
updatedAt: new Date(`2024-1-${idx + 1}`).toISOString(),
})) as IWorkflowDb[];

0 comments on commit cfa599c

Please sign in to comment.