Skip to content

Commit

Permalink
fix: try to mock auth admin
Browse files Browse the repository at this point in the history
  • Loading branch information
njlie committed Sep 25, 2024
1 parent 932bed0 commit 21f2f86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend/src/tests/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 21f2f86

Please sign in to comment.