From 999f8e2c2a3456649c41163e5032445beb1fc83d Mon Sep 17 00:00:00 2001 From: Nathan Lie Date: Wed, 25 Sep 2024 11:39:20 -0700 Subject: [PATCH] fix: try to match body --- packages/backend/src/tests/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/tests/app.ts b/packages/backend/src/tests/app.ts index de29569b0a..4e84008eb1 100644 --- a/packages/backend/src/tests/app.ts +++ b/packages/backend/src/tests/app.ts @@ -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', /.*/)