mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
tests(test-setup): ensure shutdown hooks get run
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
4746c30c26
commit
bbf7209c27
3 changed files with 3 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue