From fdf913e0f1958552db5e4cd8897d3a0c9e577259 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 26 Apr 2024 13:06:48 -0700 Subject: [PATCH] Update index.test.ts --- apps/api/src/__tests__/e2e_withAuth/index.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/api/src/__tests__/e2e_withAuth/index.test.ts b/apps/api/src/__tests__/e2e_withAuth/index.test.ts index f490306..2b4c7e9 100644 --- a/apps/api/src/__tests__/e2e_withAuth/index.test.ts +++ b/apps/api/src/__tests__/e2e_withAuth/index.test.ts @@ -183,6 +183,8 @@ const TEST_URL = "http://127.0.0.1:3002"; expect(response.statusCode).toBe(401); }); + + it("should return a successful response with a valid API key", async () => { const response = await request(TEST_URL) .post("/v0/search")