Skip to content

Commit

Permalink
Updated code for NSJS387
Browse files Browse the repository at this point in the history
  • Loading branch information
manikbajaj committed Jun 21, 2024
1 parent d03b41f commit c65fdf4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/users/users.post.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ describe('[Users] @Post Endpoints', () => {
return request(httpServer)
.post('/users')
.send({})
.then((data) => {
console.log(data);
.expect(400)
.then(({ body }) => {
console.log(body);
});
});

Expand Down

0 comments on commit c65fdf4

Please sign in to comment.