Add `yarn debug-test` (#11791)
Dan Abramov committed
Dec 7, 2017 at 11:05 UTC
ff3c1b8e129085ae5f2deeba5d07ce07d5df4308
1 file changed
+1
package.json
+1
@@ -105,6 +105,7 @@
105
"lint": "node ./scripts/tasks/eslint.js",
106
"lint-build": "node ./scripts/rollup/validate/index.js",
107
"postinstall": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json",
108
+ "debug-test": "cross-env NODE_ENV=development node --inspect-brk node_modules/.bin/jest --config ./scripts/jest/config.source.js --runInBand",
109
"test": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.source.js",
110
"test-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.source.js",
111
"test-prod-build": "yarn test-build-prod",