diff --git a/__test__/unit/core/operationRepo.test.ts b/__test__/unit/core/operationRepo.test.ts index 631a04e14..98c5c24f1 100644 --- a/__test__/unit/core/operationRepo.test.ts +++ b/__test__/unit/core/operationRepo.test.ts @@ -46,6 +46,14 @@ describe('OperationRepo tests', () => { jest.useFakeTimers(); await TestEnvironment.initialize(); broadcastCount = 0; + + test.stub( + Database, + 'getAppConfig', + Promise.resolve({ + jwtRequired: false, + }), + ); }); afterEach(async () => {