mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-16 11:05:59 +08:00
fix(api/tests/scrape/status): propagation time
This commit is contained in:
parent
359711656a
commit
1a6e1134c4
@ -73,6 +73,9 @@ describe("Scrape tests", () => {
|
||||
|
||||
expect(response.markdown).toContain("Firecrawl");
|
||||
|
||||
// Give time to propagate to read replica
|
||||
await new Promise(resolve => setTimeout(resolve, 1000));
|
||||
|
||||
const status = await scrapeStatus(response.metadata.scrapeId!);
|
||||
expect(JSON.stringify(status)).toBe(JSON.stringify(response));
|
||||
}, 60000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user