From 5056dcd8e96171be0b10f8cbebb496a07668a9cf Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 14 Nov 2024 15:06:22 -0500 Subject: [PATCH] Update index.test.ts --- apps/api/src/__tests__/e2e_extract/index.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/api/src/__tests__/e2e_extract/index.test.ts b/apps/api/src/__tests__/e2e_extract/index.test.ts index 9d6ffd86..ec68ca12 100644 --- a/apps/api/src/__tests__/e2e_extract/index.test.ts +++ b/apps/api/src/__tests__/e2e_extract/index.test.ts @@ -16,7 +16,7 @@ describe("E2E Tests for Extract API Routes", () => { .set("Authorization", `Bearer ${process.env.TEST_API_KEY}`) .set("Content-Type", "application/json") .send({ - urls: ["https://firecrawl.dev"], + urls: ["https://firecrawl.dev/*"], prompt: "Who are the authors of the blog posts?", schema: { type: "object", @@ -46,7 +46,7 @@ describe("E2E Tests for Extract API Routes", () => { .set("Authorization", `Bearer ${process.env.TEST_API_KEY}`) .set("Content-Type", "application/json") .send({ - urls: ["mendable.ai"], + urls: ["mendable.ai/*"], prompt: "Who are the founders of the company?", allowExternalLinks: true, schema: { @@ -74,7 +74,7 @@ describe("E2E Tests for Extract API Routes", () => { .set("Authorization", `Bearer ${process.env.TEST_API_KEY}`) .set("Content-Type", "application/json") .send({ - urls: ["https://firecrawl.dev"], + urls: ["https://firecrawl.dev/*"], prompt: "What are they hiring for?", allowExternalLinks: true, schema: { @@ -107,7 +107,7 @@ describe("E2E Tests for Extract API Routes", () => { .set("Authorization", `Bearer ${process.env.TEST_API_KEY}`) .set("Content-Type", "application/json") .send({ - urls: ["fivetran.com"], + urls: ["fivetran.com/*"], prompt: "Does Fivetran have PCI DSS compliance?", allowExternalLinks: true, schema: { @@ -128,7 +128,7 @@ describe("E2E Tests for Extract API Routes", () => { .set("Authorization", `Bearer ${process.env.TEST_API_KEY}`) .set("Content-Type", "application/json") .send({ - urls: ["fivetran.com"], + urls: ["fivetran.com/*"], prompt: "What are the Azure Data Connectors they offer?", schema: { type: "array",