add missing shutdown hooks in unit tests

This commit is contained in:
Hazelnoot 2025-09-27 20:08:51 -04:00
parent 4db8d0b9ed
commit b8e3f545c0
10 changed files with 55 additions and 12 deletions

View file

@ -117,6 +117,7 @@ describe('UserSearchService', () => {
})
.compile();
app.enableShutdownHooks();
await app.init();
instancesRepository = app.get<InstancesRepository>(DI.instancesRepository);