mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-07-31 00:22:00 +08:00
stupid tests
This commit is contained in:
parent
9cb4987cdc
commit
6adc855c35
@ -52,7 +52,7 @@ describe("Crawl tests", () => {
|
|||||||
expect(page.metadata.url ?? page.metadata.sourceURL).toMatch(/^https:\/\/(www\.)?firecrawl\.dev\/blog/);
|
expect(page.metadata.url ?? page.metadata.sourceURL).toMatch(/^https:\/\/(www\.)?firecrawl\.dev\/blog/);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, 120000);
|
}, 300000);
|
||||||
|
|
||||||
it.concurrent("discovers URLs properly when maxDiscoveryDepth is provided", async () => {
|
it.concurrent("discovers URLs properly when maxDiscoveryDepth is provided", async () => {
|
||||||
const res = await crawl({
|
const res = await crawl({
|
||||||
@ -69,5 +69,5 @@ describe("Crawl tests", () => {
|
|||||||
expect(page.metadata.url ?? page.metadata.sourceURL).not.toMatch(/^https:\/\/(www\.)?firecrawl\.dev\/blog\/.+$/);
|
expect(page.metadata.url ?? page.metadata.sourceURL).not.toMatch(/^https:\/\/(www\.)?firecrawl\.dev\/blog\/.+$/);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, 120000);
|
}, 300000);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user