We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a05a16 commit 9c14c3cCopy full SHA for 9c14c3c
1 file changed
src/presentation/http/router/note.test.ts
@@ -285,7 +285,7 @@ describe('Note API', () => {
285
/** Check if response has createdAt, updatedAt and creatorId fields */
286
expect(response?.json().note.createdAt).not.toBeNull();
287
expect(response?.json().note.updatedAt).not.toBeNull();
288
- expect(response?.json().note.creatorId).not.toBeNull();
+ expect(response?.json().note.creatorId).to.be.equal(creator.id);
289
} else {
290
expect(response?.json()).toStrictEqual({
291
message: expectedMessage,
0 commit comments