From 21f2f86f2b4754450390d76325709a1b9490a86b Mon Sep 17 00:00:00 2001 From: Nathan Lie Date: Wed, 25 Sep 2024 10:49:33 -0700 Subject: [PATCH] fix: try to mock auth admin --- packages/backend/src/tests/app.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/tests/app.ts b/packages/backend/src/tests/app.ts index 5366a6d0f7..aa1aa42c1b 100644 --- a/packages/backend/src/tests/app.ts +++ b/packages/backend/src/tests/app.ts @@ -53,6 +53,8 @@ export const createTestApp = async ( .reply(200, { recovery_link: 'https://example.com' }) .persist() + nock(config.authAdminApiUrl).post('/').reply(200).persist() + const app = new App(container) await start(container, app)