Skip to content

Commit

Permalink
fix: generically match body
Browse files Browse the repository at this point in the history
  • Loading branch information
njlie committed Sep 25, 2024
1 parent 999f8e2 commit ddc2b7c
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('/', (body) => body['operationName'] === 'CreateAuthTenant')
.post('/', (body) => !!body)
.matchHeader('Accept', '*/*')
.matchHeader('Content-Type', 'application/json')
.matchHeader('Signature', /.*/)
Expand Down

0 comments on commit ddc2b7c

Please sign in to comment.