Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

docs(contributing): fix jest reference in vitest mock example (#3996)

Bibek Barik783951d0fb9e
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 2a04e6027..656e3439c 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -110,7 +110,7 @@ vitest.mock('node:os', async (importActual) => {
return {
...original,
platform: () => 'darwin',
- freemem: jest.fn(),
+ freemem: vitest.fn(),
};
});
```