Skip to content

Commit

Permalink
fix: try to match body
Browse files Browse the repository at this point in the history
  • Loading branch information
njlie committed Sep 25, 2024
1 parent b5e884f commit 999f8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/tests/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const createTestApp = async (
.persist()

nock(config.authAdminApiUrl)
.post('/')
.post('/', (body) => body['operationName'] === 'CreateAuthTenant')
.matchHeader('Accept', '*/*')
.matchHeader('Content-Type', 'application/json')
.matchHeader('Signature', /.*/)
Expand Down

0 comments on commit 999f8e2

Please sign in to comment.