mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-18 03:45:53 +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…
x
Reference in New Issue
Block a user