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(); .compile();
await app.init();
app.enableShutdownHooks(); app.enableShutdownHooks();
announcementService = app.get<AnnouncementService>(AnnouncementService); announcementService = app.get<AnnouncementService>(AnnouncementService);

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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