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:
Maksim Sadym 2020-09-11 10:10:25 +02:00 committed by GitHub
parent 62ac167339
commit 4ce600a6f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,10 +11,10 @@
"test-browser": "wtr",
"test-browser-watch": "wtr --watch",
"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",
"assert-unit-coverage": "cross-env COVERAGE=1 mocha --config mocha-config/coverage-tests.js",
"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",
"prepare": "node typescript-if-required.js",
"prepublishOnly": "npm run tsc",