Nick:
This commit is contained in:
@@ -31,7 +31,8 @@ it('should return a list of links on the firecrawl.ai page', async () => {
|
|||||||
|
|
||||||
// Check if the result contains a list of links
|
// Check if the result contains a list of links
|
||||||
expect(result.linksOnPage).toBeDefined();
|
expect(result.linksOnPage).toBeDefined();
|
||||||
|
console.log({result});
|
||||||
expect(Array.isArray(result.linksOnPage)).toBe(true);
|
expect(Array.isArray(result.linksOnPage)).toBe(true);
|
||||||
expect(result.linksOnPage.length).toBeGreaterThan(0);
|
expect(result.linksOnPage.length).toBeGreaterThan(0);
|
||||||
expect(result.linksOnPage).toContain('https://flutterbricks.com/features')
|
expect(result.linksOnPage).toContain('https://flutterbricks.com/features')
|
||||||
}, 10000);
|
}, 15000);
|
||||||
|
|||||||
Reference in New Issue
Block a user