From d836ba67821235fb3363065d01fb36f0094044f9 Mon Sep 17 00:00:00 2001 From: rafaelsideguide <150964962+rafaelsideguide@users.noreply.github.com> Date: Wed, 4 Sep 2024 09:35:56 -0300 Subject: [PATCH] added log to check response on cicd --- apps/api/src/__tests__/e2e_v1_withAuth/index.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/api/src/__tests__/e2e_v1_withAuth/index.test.ts b/apps/api/src/__tests__/e2e_v1_withAuth/index.test.ts index dd7d4f16..40017d2b 100644 --- a/apps/api/src/__tests__/e2e_v1_withAuth/index.test.ts +++ b/apps/api/src/__tests__/e2e_v1_withAuth/index.test.ts @@ -32,6 +32,10 @@ describe("E2E Tests for v1 API Routes", () => { const response: ScrapeResponseRequestTest = await request(TEST_URL).post( "/v1/scrape" ); + console.log({ + response: response.body, + statusCode: response.statusCode, + }) expect(response.statusCode).toBe(401); });