Skip to content

Commit

Permalink
Added some todos and fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
elizachi committed Dec 6, 2023
1 parent e51ed3f commit 1eaf7fc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/presentation/http/router/note.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,7 @@ describe('Note API', () => {
const response = await global.api?.fakeRequest({
method: 'PATCH',
url: `/note/${correctID}`,
body: {
'isPublic': false,
},
body: {},
});

expect(response?.statusCode).toBe(expectedStatus);
Expand Down Expand Up @@ -308,7 +306,11 @@ describe('Note API', () => {

expect(response?.json().message).toStrictEqual(expectedMessage);
});

test.todo('Update note by public id with 200 status, user is creator of the note');
});

test.todo('Create note with parentId field');

test.todo('API should not return internal id and "publicId". It should return only "id" which is public id.');
});

0 comments on commit 1eaf7fc

Please sign in to comment.