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 8c3d1731..e1f5f3fa 100644 --- a/apps/api/src/__tests__/e2e_v1_withAuth/index.test.ts +++ b/apps/api/src/__tests__/e2e_v1_withAuth/index.test.ts @@ -868,7 +868,7 @@ describe("POST /v1/crawl", () => { const urls = completedResponse.body.data.map( (item: any) => item.metadata?.sourceURL ); - expect(urls.length).toBeGreaterThanOrEqual(1); + expect(urls.length).toBeGreaterThan(1); // Check if all URLs have a maximum depth of 1 urls.forEach((url: string) => { diff --git a/apps/api/src/__tests__/e2e_withAuth/index.test.ts b/apps/api/src/__tests__/e2e_withAuth/index.test.ts index 1646843f..90a4587d 100644 --- a/apps/api/src/__tests__/e2e_withAuth/index.test.ts +++ b/apps/api/src/__tests__/e2e_withAuth/index.test.ts @@ -538,7 +538,7 @@ describe("E2E Tests for v0 API Routes", () => { const urls = completedResponse.body.data.map( (item: any) => item.metadata?.sourceURL ); - expect(urls.length).toBeGreaterThanOrEqual(1); + expect(urls.length).toBeGreaterThan(1); // Check if all URLs have a maximum depth of 1 urls.forEach((url: string) => {