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.

Update _helper.js

Marek Trunkát4fb208a801e9
diff --git a/test/_helper.js b/test/_helper.js
index ffe786caa..818a57378 100644
--- a/test/_helper.js
+++ b/test/_helper.js
@@ -7,9 +7,9 @@ export const LOCAL_STORAGE_DIR = path.join(__dirname, '..', 'tmp', 'local-emulat
// Log unhandled rejections.
process.on('unhandledRejection', (err) => {
- console.log('---------------------------------------------------------------------');
- console.log('- ERROR: Killing tests because of unhandled promise rejection !!!!! -');
- console.log('---------------------------------------------------------------------');
+ console.log('----------------------------------------------------------------');
+ console.log('- ERROR: Exiting tests because of unhandled promise rejection! -');
+ console.log('----------------------------------------------------------------');
console.log(err);
process.exit(1);
});