mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-15 19:55:55 +08:00
fix tests
This commit is contained in:
parent
1c86e80a46
commit
dba5c28059
@ -39,7 +39,7 @@ describe("Scrape tests", () => {
|
|||||||
url: "https://icanhazip.com"
|
url: "https://icanhazip.com"
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(response.markdown?.trim()).toBe(process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0]);
|
expect(response.markdown?.trim()).toContain(process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0]);
|
||||||
}, 30000);
|
}, 30000);
|
||||||
|
|
||||||
it.concurrent("self-hosted proxy works on playwright", async () => {
|
it.concurrent("self-hosted proxy works on playwright", async () => {
|
||||||
@ -48,7 +48,7 @@ describe("Scrape tests", () => {
|
|||||||
waitFor: 100,
|
waitFor: 100,
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(response.markdown?.trim()).toBe(process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0]);
|
expect(response.markdown?.trim()).toContain(process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0]);
|
||||||
}, 30000);
|
}, 30000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user