mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-07-30 08:11:59 +08:00
add test + bump sdk
This commit is contained in:
parent
97a473d3de
commit
8c51c3c27a
@ -84,6 +84,18 @@ describe("Scrape tests", () => {
|
||||
// expect(response.markdown).toMatch(/(\.g\.doubleclick\.net|amazon-adsystem\.com)\//);
|
||||
// }, 30000);
|
||||
// });
|
||||
|
||||
describe("Compare format", () => {
|
||||
it.concurrent("works", async () => {
|
||||
const response = await scrape({
|
||||
url: "https://example.com",
|
||||
formats: ["markdown", "compare"],
|
||||
});
|
||||
|
||||
expect(response.compare).toBeDefined();
|
||||
expect(response.compare?.previousScrapeAt).not.toBeNull();
|
||||
});
|
||||
});
|
||||
|
||||
describe("Location API (f-e dependant)", () => {
|
||||
it.concurrent("works without specifying an explicit location", async () => {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@mendable/firecrawl-js",
|
||||
"version": "1.21.0",
|
||||
"version": "1.21.1",
|
||||
"description": "JavaScript SDK for Firecrawl API",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
Loading…
x
Reference in New Issue
Block a user