screenshot should not be undefined also

This commit is contained in:
rafaelsideguide 2024-08-20 17:24:45 -03:00
parent 70d81ca69e
commit 9d64c8eedc

View File

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