We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eb5951 commit 0815c8fCopy full SHA for 0815c8f
1 file changed
tests/Sample.test.ts
@@ -19,6 +19,11 @@ describe('createProject', () => {
19
imageUrl: 'https://example.com/image.png',
20
githubUrl: 'https://github.com/example/eventhub',
21
deployUrl: 'https://eventhub.example.com',
22
+ createdById: null,
23
+ createdAt: new Date(),
24
+ updatedById: null,
25
+ updatedAt: new Date(),
26
+
27
};
28
//this stops the call from doing to database and returns the value as resolved promise
29
prismaMock.project.create.mockResolvedValue(mockCreatedProject);
0 commit comments