Skip to content

Commit 2d509cd

Browse files
committed
Merge pull request #813 from ParsePlatform/flovilmart.fasterTests
fixes missing coverage with sh script
2 parents b301ea9 + ec8529a commit 2d509cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"dev": "npm run build && bin/dev",
5757
"build": "./node_modules/.bin/babel src/ -d lib/",
5858
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} ./node_modules/.bin/mongodb-runner start",
59-
"test": "cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node $([[ $CODE_COVERAGE == 1 ]] && echo './node_modules/babel-istanbul/lib/cli.js cover -x **/spec/**') ./node_modules/jasmine/bin/jasmine.js",
59+
"test": "cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node $(if [ \"$CODE_COVERAGE\" = \"1\" ]; then echo './node_modules/babel-istanbul/lib/cli.js cover -x **/spec/**'; fi;) ./node_modules/jasmine/bin/jasmine.js",
6060
"posttest": "mongodb-runner stop",
6161
"start": "./bin/parse-server",
6262
"prepublish": "npm run build"

0 commit comments

Comments
 (0)