Update index.test.ts

This commit is contained in:
Nicolas 2024-04-26 13:06:48 -07:00
parent 8e32453424
commit fdf913e0f1
1 changed files with 2 additions and 0 deletions

View File

@ -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")