mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-14 23:55:54 +08:00
fix(cicd):
This commit is contained in:
parent
8fc313c1a4
commit
3f462eabe9
@ -535,7 +535,9 @@ describe("POST /v1/map", () => {
|
|||||||
const links = response.body.links as unknown[];
|
const links = response.body.links as unknown[];
|
||||||
expect(Array.isArray(links)).toBe(true);
|
expect(Array.isArray(links)).toBe(true);
|
||||||
expect(links.length).toBeGreaterThan(0);
|
expect(links.length).toBeGreaterThan(0);
|
||||||
expect(links[0]).toContain("docs.firecrawl.dev");
|
|
||||||
|
const containsDocsFirecrawlDev = links.some((link: string) => link.includes("docs.firecrawl.dev"));
|
||||||
|
expect(containsDocsFirecrawlDev).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it.concurrent("should return a successful response with a valid API key and search and allowSubdomains and www", async () => {
|
it.concurrent("should return a successful response with a valid API key and search and allowSubdomains and www", async () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user