mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-16 13:15:58 +08:00
debug: logs
This commit is contained in:
parent
b744f40be9
commit
3958a33734
@ -34,6 +34,8 @@ describe("Scrape tests", () => {
|
||||
}, 30000);
|
||||
|
||||
if (process.env.TEST_SUITE_SELF_HOSTED && process.env.PROXY_SERVER) {
|
||||
console.log("Proxy server tests will run");
|
||||
|
||||
it.concurrent("self-hosted proxy works", async () => {
|
||||
const response = await scrape({
|
||||
url: "https://icanhazip.com"
|
||||
@ -49,6 +51,7 @@ describe("Scrape tests", () => {
|
||||
});
|
||||
|
||||
expect(response.markdown?.trim()).toBe(process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0]);
|
||||
console.log("Self-hosted proxy works on playwright");
|
||||
}, 30000);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user