diff options
-rw-r--r-- | .istanbul.yml | 2 | ||||
-rw-r--r-- | package.json | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.istanbul.yml b/.istanbul.yml index 620661511..55d944d8e 100644 --- a/.istanbul.yml +++ b/.istanbul.yml @@ -1,5 +1,7 @@ instrumentation: root: ./lib include-all-sources: true + excludes: + - "handlers/asm-docs.js" reporting: dir: ./out/coverage diff --git a/package.json b/package.json index 2cde31493..2f76271a7 100644 --- a/package.json +++ b/package.json @@ -56,9 +56,9 @@ }, "scripts": { "test": "mocha --recursive && make test", - "codecov": "istanbul cover ./node_modules/mocha/bin/_mocha --recursive --report lcovonly -- -R spec && codecov", - "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --recursive --report lcovonly -- -R spec", - "localcoverage": "istanbul cover ./node_modules/mocha/bin/_mocha --recursive --report html -- -R spec" + "codecov": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --recursive && codecov", + "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --recursive", + "localcoverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report html -- -R spec --recursive" }, "license": "BSD-2-Clause" } |