call app.init, app.enableShutdownHooks, and app.close in more tests

This commit is contained in:
Hazelnoot 2025-10-01 11:54:07 -04:00
parent 7d6732bf96
commit 92892338f3
11 changed files with 66 additions and 53 deletions

View file

@ -32,6 +32,8 @@ describe('/drive/files/create', () => {
module = await Test.createTestingModule({
imports: [GlobalModule, CoreModule, ServerModule],
}).compile();
await module.init();
module.enableShutdownHooks();
const serverService = module.get<ServerService>(ServerService);