diff --git a/packages/backend/test/unit/activitypub.ts b/packages/backend/test/unit/activitypub.ts index 4ca1dcad0e..dbc446d12d 100644 --- a/packages/backend/test/unit/activitypub.ts +++ b/packages/backend/test/unit/activitypub.ts @@ -114,6 +114,7 @@ describe('ActivityPub', () => { }, }).compile(); + await app.init(); app.enableShutdownHooks(); noteService = app.get(ApNoteService);