chore(testrunner): support first-class test debugging (#1606)

This patch teaches testrunner to override both timeout and
parallel execution option if there's attached inspector.
This commit is contained in:
Andrey Lushnikov
2017-12-15 14:25:06 -08:00
committed by GitHub
parent a3a3774926
commit be438c59c1
3 changed files with 14 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
},
"scripts": {
"unit": "node test/test.js",
"debug-unit": "cross-env DEBUG_TEST=true node --inspect-brk test/test.js",
"debug-unit": "node --inspect-brk test/test.js",
"test-doclint": "node utils/doclint/check_public_api/test/test.js && node utils/doclint/preprocessor/test.js",
"test": "npm run lint --silent && npm run coverage && npm run test-doclint && npm run test-node6-transformer",
"install": "node install.js",