We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be0769e commit e54c834Copy full SHA for e54c834
mocks/notes.ts
@@ -2,8 +2,8 @@ import { type Note, type PrismaClient } from '@prisma/client'
2
3
export const createNotes: () => Note[] = () => {
4
// Fixed dates for consistent screenshots
5
- const date = new Date('2024-04-18T12:24:02Z')
6
- const otherDate = new Date('2024-04-19T15:22:04Z')
+ const date = new Date('2024-04-12T12:24:02Z')
+ const otherDate = new Date('2024-04-13T12:24:02Z')
7
return [
8
{
9
id: 1,
@@ -21,7 +21,7 @@ export const createNotes: () => Note[] = () => {
21
createdAt: otherDate,
22
updatedAt: otherDate,
23
},
24
- ]
+ ] as const
25
}
26
27
export const seed = async (db: PrismaClient) => {
0 commit comments