Skip to content

Commit fdbdebf

Browse files
committed
make jest paths not platform-specific
1 parent c126f15 commit fdbdebf

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎package.json‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,17 @@
8989
],
9090
"scripts": {
9191
"setup": "node ./setup/setup.js",
92-
"test": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/.bin/jest",
93-
"test:integration": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/.bin/jest --testMatch '<rootDir>/test/*.test.js'",
94-
"test:unit": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/.bin/jest --testMatch '<rootDir>/test/*.unittest.js'",
92+
"test": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/jest-cli/bin/jest",
93+
"test:integration": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/jest-cli/bin/jest --testMatch '<rootDir>/test/*.test.js'",
94+
"test:unit": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/jest-cli/bin/jest --testMatch '<rootDir>/test/*.unittest.js'",
9595
"travis:integration": "npm run cover:init && npm run cover:integration && yarn cover:report-min",
9696
"travis:unit": "yarn cover:init && yarn cover:unit",
9797
"travis:lint": "yarn lint-files",
9898
"travis:benchmark": "yarn benchmark",
9999
"appveyor:integration": "yarn cover:init && yarn cover:integration && yarn cover:report-min",
100100
"appveyor:unit": "yarn cover:init && yarn cover:unit && yarn cover:report-min",
101101
"appveyor:benchmark": "yarn benchmark",
102-
"circleci:test": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/.bin/jest --ci --reporters jest-silent-reporter",
102+
"circleci:test": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/jest-cli/bin/jest --ci --reporters jest-silent-reporter",
103103
"circleci:lint": "yarn lint",
104104
"build:examples": "cd examples && node buildAll.js",
105105
"pretest": "yarn lint",
@@ -108,13 +108,13 @@
108108
"code-lint": "eslint setup lib bin hot buildin \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\"",
109109
"fix": "yarn code-lint --fix",
110110
"pretty": "prettier \"setup/**/*.js\" \"lib/**/*.js\" \"bin/*.js\" \"hot/*.js\" \"buildin/*.js\" \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\" --write",
111-
"schema-lint": "node --max-old-space-size=4096 --harmony node_modules/.bin/jest --reporters jest-silent-reporter --testMatch '<rootDir>/test/*.lint.js'",
112-
"benchmark": "node --max-old-space-size=4096 --harmony node_modules/.bin/jest --reporters jest-silent-reporter --testMatch '<rootDir>/test/*.benchmark.js' --runInBand",
111+
"schema-lint": "node --max-old-space-size=4096 --harmony node_modules/jest-cli/bin/jest --reporters jest-silent-reporter --testMatch '<rootDir>/test/*.lint.js'",
112+
"benchmark": "node --max-old-space-size=4096 --harmony node_modules/jest-cli/bin/jest --reporters jest-silent-reporter --testMatch '<rootDir>/test/*.benchmark.js' --runInBand",
113113
"cover": "yarn cover:init && yarn cover:all && yarn cover:report",
114114
"cover:init": "rimraf coverage",
115-
"cover:all": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest --coverage",
116-
"cover:integration": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest --testMatch '<rootDir>/test/*.test.js' --coverage",
117-
"cover:unit": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest --testMatch '<rootDir>/test/*.unittest.js' --coverage",
115+
"cover:all": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/jest-cli/bin/jest --coverage",
116+
"cover:integration": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/jest-cli/bin/jest --testMatch '<rootDir>/test/*.test.js' --coverage",
117+
"cover:unit": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/jest-cli/bin/jest --testMatch '<rootDir>/test/*.unittest.js' --coverage",
118118
"cover:report": "istanbul report",
119119
"cover:report-min": "istanbul report --report lcovonly"
120120
},

0 commit comments

Comments
 (0)