Skip to content

Commit 0815c8f

Browse files
committed
sample test updated
1 parent 7eb5951 commit 0815c8f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/Sample.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ describe('createProject', () => {
1919
imageUrl: 'https://example.com/image.png',
2020
githubUrl: 'https://github.com/example/eventhub',
2121
deployUrl: 'https://eventhub.example.com',
22+
createdById: null,
23+
createdAt: new Date(),
24+
updatedById: null,
25+
updatedAt: new Date(),
26+
2227
};
2328
//this stops the call from doing to database and returns the value as resolved promise
2429
prismaMock.project.create.mockResolvedValue(mockCreatedProject);

0 commit comments

Comments
 (0)