We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a464c7 commit 9a05a16Copy full SHA for 9a05a16
src/presentation/http/router/note.test.ts
@@ -282,9 +282,10 @@ describe('Note API', () => {
282
tools: [headerTool, paragraphTool],
283
});
284
285
- /** Check if response has createdAt and updatedAt fields */
+ /** 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();
289
} else {
290
expect(response?.json()).toStrictEqual({
291
message: expectedMessage,
0 commit comments