Skip to content

Commit

Permalink
fix: increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jiho-kr committed Feb 8, 2024
1 parent c917b0e commit 6debaba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/base/base.controller.recover.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,9 @@ describe('BaseController', () => {
.post(`/base/${Number('a')}/recover`)
.expect(HttpStatus.NOT_FOUND);
});

it('should be throw not found exception', async () => {
await request(app.getHttpServer()).post('/base/0/recover').expect(HttpStatus.NOT_FOUND);
});
});
});

0 comments on commit 6debaba

Please sign in to comment.