@samitouri / QOS-React / commits / 29b4d0721c

Allow debug-test commands to run on Windows (#17122)

Fix #17121

Bogdan committed Jan 17, 2020 at 21:20 UTC 29b4d0721ce288ccbd3691e2dd768058255992b4
1 file changed +3 -3
package.json
+3 -3
@@ -105,16 +105,16 @@
105 "lint-build": "node ./scripts/rollup/validate/index.js",
106 "extract-errors": "yarn build --type=dev --extract-errors",
107 "postinstall": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json && node ./scripts/flow/createFlowConfigs.js && node ./scripts/yarn/downloadReactIsForPrettyFormat.js",
108 - "debug-test": "cross-env NODE_ENV=development node --inspect-brk node_modules/.bin/jest --config ./scripts/jest/config.source.js --runInBand",
108 + "debug-test": "cross-env NODE_ENV=development node --inspect-brk node_modules/jest/bin/jest.js --config ./scripts/jest/config.source.js --runInBand",
109 "test": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.source.js",
110 "test-persistent": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.source-persistent.js",
111 - "debug-test-persistent": "cross-env NODE_ENV=development node --inspect-brk node_modules/.bin/jest --config ./scripts/jest/config.source-persistent.js --runInBand",
111 + "debug-test-persistent": "cross-env NODE_ENV=development node --inspect-brk node_modules/jest/bin/jest.js --config ./scripts/jest/config.source-persistent.js --runInBand",
112 "test-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.source.js",
113 "test-prod-build": "yarn test-build-prod",
114 "test-build": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.build.js",
115 "test-build-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.build.js",
116 "test-build-devtools": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.build-devtools.js",
117 - "debug-test-build-devtools": "cross-env NODE_ENV=development node --inspect-brk node_modules/.bin/jest --config ./scripts/jest/config.build-devtools.js",
117 + "debug-test-build-devtools": "cross-env NODE_ENV=development node --inspect-brk node_modules/jest/bin/jest.js --config ./scripts/jest/config.build-devtools.js",
118 "test-dom-fixture": "cd fixtures/dom && yarn && yarn prestart && yarn test",
119 "flow": "node ./scripts/tasks/flow.js",
120 "flow-ci": "node ./scripts/tasks/flow-ci.js",