Exclude tests from code coverage.

This commit is contained in:
Nikita Lutsenko
2016-02-03 00:21:49 -08:00
parent c73d9f1e27
commit e5911d3cb9

View File

@@ -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": {