From 4100cc92230b221d6af2e3e428a5421522656884 Mon Sep 17 00:00:00 2001 From: rafaelsideguide <150964962+rafaelsideguide@users.noreply.github.com> Date: Mon, 3 Jun 2024 16:29:16 -0300 Subject: [PATCH] Update index.test.ts --- .../firecrawl/src/__tests__/e2e_withAuth/index.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/js-sdk/firecrawl/src/__tests__/e2e_withAuth/index.test.ts b/apps/js-sdk/firecrawl/src/__tests__/e2e_withAuth/index.test.ts index c9db6a9..10da000 100644 --- a/apps/js-sdk/firecrawl/src/__tests__/e2e_withAuth/index.test.ts +++ b/apps/js-sdk/firecrawl/src/__tests__/e2e_withAuth/index.test.ts @@ -30,7 +30,7 @@ describe('FirecrawlApp E2E Tests', () => { const response = await app.scrapeUrl('https://firecrawl.dev'); expect(response).not.toBeNull(); expect(response.data.content).toContain("🔥 Firecrawl"); - }, 10000); // 10 seconds timeout + }, 30000); // 30 seconds timeout test('should return successful response for valid scrape', async () => { const app = new FirecrawlApp({ apiKey: TEST_API_KEY, apiUrl: API_URL }); @@ -40,7 +40,7 @@ describe('FirecrawlApp E2E Tests', () => { expect(response.data).toHaveProperty('markdown'); expect(response.data).toHaveProperty('metadata'); expect(response.data).not.toHaveProperty('html'); - }, 10000); // 10 seconds timeout + }, 30000); // 30 seconds timeout test('should return successful response with valid API key and include HTML', async () => { const app = new FirecrawlApp({ apiKey: TEST_API_KEY, apiUrl: API_URL }); @@ -49,7 +49,7 @@ describe('FirecrawlApp E2E Tests', () => { expect(response.data.content).toContain("🔥 Firecrawl"); expect(response.data.markdown).toContain("🔥 Firecrawl"); expect(response.data.html).toContain("