test
This commit is contained in:
parent
9de11da170
commit
c3714c02ba
|
@ -85,7 +85,6 @@ describe('AnnouncementService', () => {
|
|||
})
|
||||
.compile();
|
||||
|
||||
await app.init();
|
||||
app.enableShutdownHooks();
|
||||
|
||||
announcementService = app.get<AnnouncementService>(AnnouncementService);
|
||||
|
|
|
@ -23,7 +23,6 @@ describe('DriveService', () => {
|
|||
imports: [GlobalModule, CoreModule],
|
||||
providers: [DriveService],
|
||||
}).compile();
|
||||
await app.init();
|
||||
app.enableShutdownHooks();
|
||||
driveService = app.get<DriveService>(DriveService);
|
||||
});
|
||||
|
|
|
@ -58,7 +58,6 @@ describe('FetchInstanceMetadataService', () => {
|
|||
}})
|
||||
.compile();
|
||||
|
||||
await app.init();
|
||||
app.enableShutdownHooks();
|
||||
|
||||
fetchInstanceMetadataService = app.get<FetchInstanceMetadataService>(FetchInstanceMetadataService);
|
||||
|
|
|
@ -50,7 +50,6 @@ describe('FileInfoService', () => {
|
|||
})
|
||||
.compile();
|
||||
|
||||
await app.init();
|
||||
app.enableShutdownHooks();
|
||||
|
||||
fileInfoService = app.get<FileInfoService>(FileInfoService);
|
||||
|
|
|
@ -28,7 +28,6 @@ describe('MetaService', () => {
|
|||
],
|
||||
}).compile();
|
||||
|
||||
await app.init();
|
||||
app.enableShutdownHooks();
|
||||
|
||||
metaService = app.get<MetaService>(MetaService, { strict: false });
|
||||
|
|
|
@ -18,7 +18,6 @@ describe('MfmService', () => {
|
|||
const app = await Test.createTestingModule({
|
||||
imports: [GlobalModule, CoreModule],
|
||||
}).compile();
|
||||
await app.init();
|
||||
mfmService = app.get<MfmService>(MfmService);
|
||||
});
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ describe('ReactionService', () => {
|
|||
const app = await Test.createTestingModule({
|
||||
imports: [GlobalModule, CoreModule],
|
||||
}).compile();
|
||||
await app.init();
|
||||
reactionService = app.get<ReactionService>(ReactionService);
|
||||
});
|
||||
|
||||
|
|
|
@ -54,7 +54,6 @@ describe('RelayService', () => {
|
|||
})
|
||||
.compile();
|
||||
|
||||
await app.init();
|
||||
app.enableShutdownHooks();
|
||||
|
||||
relayService = app.get<RelayService>(RelayService);
|
||||
|
|
|
@ -87,7 +87,6 @@ describe('RoleService', () => {
|
|||
})
|
||||
.compile();
|
||||
|
||||
await app.init();
|
||||
app.enableShutdownHooks();
|
||||
|
||||
roleService = app.get<RoleService>(RoleService);
|
||||
|
|
|
@ -24,7 +24,6 @@ describe('S3Service', () => {
|
|||
imports: [GlobalModule, CoreModule],
|
||||
providers: [S3Service],
|
||||
}).compile();
|
||||
await app.init();
|
||||
app.enableShutdownHooks();
|
||||
s3Service = app.get<S3Service>(S3Service);
|
||||
});
|
||||
|
|
|
@ -114,7 +114,6 @@ describe('ActivityPub', () => {
|
|||
},
|
||||
}).compile();
|
||||
|
||||
await app.init();
|
||||
app.enableShutdownHooks();
|
||||
|
||||
noteService = app.get<ApNoteService>(ApNoteService);
|
||||
|
|
Loading…
Reference in a new issue