Skip to content

Commit 79e43c6

Browse files
committed
dbg api response body
1 parent d2a8fb6 commit 79e43c6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/test-team/template-mgmt-api-tests/submit-routing-config.api.spec.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,11 @@ test.describe('PATCH /v1/routing-configuration/:routingConfigId/submit', () => {
7777
},
7878
}
7979
);
80-
expect(response.status()).toBe(404);
81-
expect(await response.json()).toEqual({
80+
const responseBody = await response.json();
81+
const dbg = JSON.stringify(responseBody);
82+
83+
expect(response.status(), dbg).toBe(404);
84+
expect(responseBody).toEqual({
8285
statusCode: 404,
8386
technicalMessage: 'Routing configuration not found',
8487
});

0 commit comments

Comments
 (0)