mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Nick:
This commit is contained in:
parent
ecd07be49e
commit
9a13034095
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user