Skip to content

Commit d2cba75

Browse files
committed
Merge pull request #886 from aneeshd16/patch-1
Added test command for Windows support
2 parents f08b0b3 + dc0e8eb commit d2cba75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"build": "./node_modules/.bin/babel src/ -d lib/",
6161
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} ./node_modules/.bin/mongodb-runner start",
6262
"test": "cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node $COVERAGE_OPTION ./node_modules/jasmine/bin/jasmine.js",
63+
"test:win": "npm run pretest && cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node ./node_modules/babel-istanbul/lib/cli.js cover -x **/spec/** ./node_modules/jasmine/bin/jasmine.js && npm run posttest",
6364
"posttest": "./node_modules/.bin/mongodb-runner stop",
6465
"coverage": "cross-env COVERAGE_OPTION='./node_modules/babel-istanbul/lib/cli.js cover -x **/spec/**' npm test",
6566
"start": "node ./bin/parse-server",

0 commit comments

Comments
 (0)