Skip to content
Merged
Prev Previous commit
Next Next commit
Default to running tests HEADLESS on rrweb
  • Loading branch information
eoghanmurray committed Apr 13, 2023
commit ef1cbbfd9ccdac643415f56defd44acf2e87a028
10 changes: 6 additions & 4 deletions packages/rrweb/package.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like the old commands are enough for me.

Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"scripts": {
"prepare": "npm run prepack",
"prepack": "npm run bundle",
"test": "npm run bundle:browser && jest --testPathIgnorePatterns test/benchmark",
"test:headless": "PUPPETEER_HEADLESS=true npm run test",
"test:watch": "PUPPETEER_HEADLESS=true npm run test -- --watch",
"test:update": "PUPPETEER_HEADLESS=true npm run test -- --updateSnapshot",
"build-and-test": "npm run bundle:browser && jest --testPathIgnorePatterns test/benchmark",
"test": "npm run test:headless",
"test:headless": "PUPPETEER_HEADLESS=true npm run build-and-test",
"test:headful": "PUPPETEER_HEADLESS=false npm run build-and-test",
"test:watch": "npm run test:headless -- --watch",
"test:update": "npm run test:headless -- --updateSnapshot",
"repl": "npm run bundle:browser && node scripts/repl.js",
"live-stream": "npm run bundle:browser && node scripts/stream.js",
"dev": "npm run bundle:browser --watch",
Expand Down