call app.init, app.enableShutdownHooks, and app.close in more tests
This commit is contained in:
parent
7d6732bf96
commit
92892338f3
11 changed files with 66 additions and 53 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue