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.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
Attempt to fix flaky tests
Ondra Urban491079fe909f
diff --git a/package.json b/package.jsonindex 578dde728..0f336c5de 100644--- a/package.json+++ b/package.json@@ -40,7 +40,7 @@"build": "rm -rf ./build && babel src --out-dir build --copy-files","build-docs": "npm run clean && npm run build && node ./website/tools/build_docs.js","build-readme": "node ./tools/build_readme.js",- "test": "npm run build && jest --testTimeout=10000 --maxWorkers=3",+ "test": "npm run build && jest --testTimeout=20000 --maxWorkers=3","prepare": "npm run build","prepublishOnly": "(test $TRAVIS || (echo \"Publishing is reserved to the Travis CI!\"; exit 1))","clean": "rm -rf build",diff --git a/test/utils.test.js b/test/utils.test.jsindex 205fce74a..465485abc 100644--- a/test/utils.test.js+++ b/test/utils.test.js@@ -138,7 +138,6 @@ describe('utils.getMemoryInfo()', () => {osMock.expects('totalmem')- .once().returns(333);try {