mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 21:18:59 +08:00
fix(tests/snips/map): remove flaky useless test
This commit is contained in:
parent
58564bceb8
commit
aacbea1d9e
@ -49,14 +49,5 @@ describe("Map tests", () => {
|
|||||||
expect(response.statusCode).toBe(200);
|
expect(response.statusCode).toBe(200);
|
||||||
expect(response.body.success).toBe(true);
|
expect(response.body.success).toBe(true);
|
||||||
expect(response.body.links.some(x => x.match(/^https:\/\/www\.hfea\.gov\.uk\/choose-a-clinic\/clinic-search\/results\/?\?options=\d+$/))).toBe(true);
|
expect(response.body.links.some(x => x.match(/^https:\/\/www\.hfea\.gov\.uk\/choose-a-clinic\/clinic-search\/results\/?\?options=\d+$/))).toBe(true);
|
||||||
|
}, 300000);
|
||||||
response = await map({
|
|
||||||
url: "https://www.hfea.gov.uk",
|
|
||||||
ignoreSitemap: false,
|
|
||||||
});
|
|
||||||
|
|
||||||
expect(response.statusCode).toBe(200);
|
|
||||||
expect(response.body.success).toBe(true);
|
|
||||||
expect(response.body.links.some(x => x.match(/^https:\/\/www\.hfea\.gov\.uk\/choose-a-clinic\/clinic-search\/results\/?\?options=\d+$/))).toBe(true);
|
|
||||||
}, 300000); // TODO: mocks
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user