tests(test-setup): ensure shutdown hooks get run

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-08-07 22:31:20 +02:00 committed by Yannick Bungers
parent 4746c30c26
commit bbf7209c27
3 changed files with 3 additions and 7 deletions

View file

@ -79,4 +79,5 @@ export async function setupApp(
const { httpAdapter } = app.get(HttpAdapterHost);
app.useGlobalFilters(new ErrorExceptionMapping(httpAdapter));
app.useWebSocketAdapter(new WsAdapter(app));
app.enableShutdownHooks();
}