Merge pull request #268 from chrisssthomas/patch-1

close app handle in base e2e test
This commit is contained in:
Kamil Mysliwiec 2023-02-20 08:41:39 +01:00 committed by GitHub
commit 196f023daa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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('/')