This commit is contained in:
syuilo 2023-10-03 16:26:58 +09:00
parent 9de11da170
commit c3714c02ba
11 changed files with 0 additions and 11 deletions

View File

@ -85,7 +85,6 @@ describe('AnnouncementService', () => {
})
.compile();
await app.init();
app.enableShutdownHooks();
announcementService = app.get<AnnouncementService>(AnnouncementService);

View File

@ -23,7 +23,6 @@ describe('DriveService', () => {
imports: [GlobalModule, CoreModule],
providers: [DriveService],
}).compile();
await app.init();
app.enableShutdownHooks();
driveService = app.get<DriveService>(DriveService);
});

View File

@ -58,7 +58,6 @@ describe('FetchInstanceMetadataService', () => {
}})
.compile();
await app.init();
app.enableShutdownHooks();
fetchInstanceMetadataService = app.get<FetchInstanceMetadataService>(FetchInstanceMetadataService);

View File

@ -50,7 +50,6 @@ describe('FileInfoService', () => {
})
.compile();
await app.init();
app.enableShutdownHooks();
fileInfoService = app.get<FileInfoService>(FileInfoService);

View File

@ -28,7 +28,6 @@ describe('MetaService', () => {
],
}).compile();
await app.init();
app.enableShutdownHooks();
metaService = app.get<MetaService>(MetaService, { strict: false });

View File

@ -18,7 +18,6 @@ describe('MfmService', () => {
const app = await Test.createTestingModule({
imports: [GlobalModule, CoreModule],
}).compile();
await app.init();
mfmService = app.get<MfmService>(MfmService);
});

View File

@ -17,7 +17,6 @@ describe('ReactionService', () => {
const app = await Test.createTestingModule({
imports: [GlobalModule, CoreModule],
}).compile();
await app.init();
reactionService = app.get<ReactionService>(ReactionService);
});

View File

@ -54,7 +54,6 @@ describe('RelayService', () => {
})
.compile();
await app.init();
app.enableShutdownHooks();
relayService = app.get<RelayService>(RelayService);

View File

@ -87,7 +87,6 @@ describe('RoleService', () => {
})
.compile();
await app.init();
app.enableShutdownHooks();
roleService = app.get<RoleService>(RoleService);

View File

@ -24,7 +24,6 @@ describe('S3Service', () => {
imports: [GlobalModule, CoreModule],
providers: [S3Service],
}).compile();
await app.init();
app.enableShutdownHooks();
s3Service = app.get<S3Service>(S3Service);
});

View File

@ -114,7 +114,6 @@ describe('ActivityPub', () => {
},
}).compile();
await app.init();
app.enableShutdownHooks();
noteService = app.get<ApNoteService>(ApNoteService);