mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: Remove target debug-unit and add unit-debug (#6411)
* debug-unit is confusing * unit-debug runs all tests in debug mode
This commit is contained in:
parent
62ac167339
commit
4ce600a6f4
@ -11,10 +11,10 @@
|
|||||||
"test-browser": "wtr",
|
"test-browser": "wtr",
|
||||||
"test-browser-watch": "wtr --watch",
|
"test-browser-watch": "wtr --watch",
|
||||||
"unit": "npm run tsc-cjs && mocha --config mocha-config/puppeteer-unit-tests.js",
|
"unit": "npm run tsc-cjs && mocha --config mocha-config/puppeteer-unit-tests.js",
|
||||||
|
"unit-debug": "npm run tsc-cjs && mocha --inspect-brk --config mocha-config/puppeteer-unit-tests.js",
|
||||||
"unit-with-coverage": "cross-env COVERAGE=1 npm run unit",
|
"unit-with-coverage": "cross-env COVERAGE=1 npm run unit",
|
||||||
"assert-unit-coverage": "cross-env COVERAGE=1 mocha --config mocha-config/coverage-tests.js",
|
"assert-unit-coverage": "cross-env COVERAGE=1 mocha --config mocha-config/coverage-tests.js",
|
||||||
"funit": "PUPPETEER_PRODUCT=firefox npm run unit",
|
"funit": "PUPPETEER_PRODUCT=firefox npm run unit",
|
||||||
"debug-unit": "node --inspect-brk test/test.js",
|
|
||||||
"test": "npm run tsc && npm run lint --silent && npm run unit-with-coverage && npm run test-browser && npm run test-types",
|
"test": "npm run tsc && npm run lint --silent && npm run unit-with-coverage && npm run test-browser && npm run test-types",
|
||||||
"prepare": "node typescript-if-required.js",
|
"prepare": "node typescript-if-required.js",
|
||||||
"prepublishOnly": "npm run tsc",
|
"prepublishOnly": "npm run tsc",
|
||||||
|
Loading…
Reference in New Issue
Block a user