Exclude tests from code coverage.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"pretest": "MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} mongodb-runner start",
|
||||
"test": "TESTING=1 ./node_modules/.bin/istanbul cover --include-all-sources ./node_modules/.bin/jasmine",
|
||||
"test": "TESTING=1 ./node_modules/.bin/istanbul cover --include-all-sources -x **/spec/** ./node_modules/.bin/jasmine",
|
||||
"posttest": "mongodb-runner stop"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
Reference in New Issue
Block a user