Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

screenshot should not be undefined also

rafaelsideguide9d64c8eedcfd
diff --git a/apps/js-sdk/firecrawl/src/__tests__/v1/e2e_withAuth/index.test.ts b/apps/js-sdk/firecrawl/src/__tests__/v1/e2e_withAuth/index.test.ts
index a5060b6e0..b0623b8de 100644
--- a/apps/js-sdk/firecrawl/src/__tests__/v1/e2e_withAuth/index.test.ts
+++ b/apps/js-sdk/firecrawl/src/__tests__/v1/e2e_withAuth/index.test.ts
@@ -64,6 +64,7 @@ describe('FirecrawlApp E2E Tests', () => {
expect(response.data?.markdown).toContain("_Roast_");
expect(response.data?.html).toContain("<h1");
expect(response.data?.rawHtml).toContain("<h1");
+ expect(response.data?.screenshot).not.toBeUndefined();
expect(response.data?.screenshot).not.toBeNull();
expect(response.data?.links).not.toBeNull();
expect(response.data?.links?.length).toBeGreaterThan(0);