From a6b7c8fed10ebece10fd553ea4760057d51efb63 Mon Sep 17 00:00:00 2001 From: Chris Thomas Date: Sun, 19 Feb 2023 15:35:42 +0000 Subject: [PATCH] close app handle in base e2e test --- test/app.e2e-spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/app.e2e-spec.ts b/test/app.e2e-spec.ts index d981c1d..00faccd 100644 --- a/test/app.e2e-spec.ts +++ b/test/app.e2e-spec.ts @@ -15,6 +15,10 @@ describe('AppController (e2e)', () => { await app.init(); }); + afterAll(async () => { + await app.close(); + }); + it('/ (GET)', () => { return request(app.getHttpServer()) .get('/')