close app handle in base e2e test

This commit is contained in:
Chris Thomas 2023-02-19 15:35:42 +00:00
parent 3612320951
commit a6b7c8fed1
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@ describe('AppController (e2e)', () => {
await app.init(); await app.init();
}); });
afterAll(async () => {
await app.close();
});
it('/ (GET)', () => { it('/ (GET)', () => {
return request(app.getHttpServer()) return request(app.getHttpServer())
.get('/') .get('/')