aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-28 00:09:17 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-28 00:09:17 +0200
commit2fc214d81d3dc471e92bd5539d9ae55d4897cb13 (patch)
treed3b0c643952f3d950c38a07b7a5f43e4804e5a84
parent15b844218c50b139b6f8ceaa22c052c297478464 (diff)
even better coverage settings (include all files)
-rw-r--r--Makefile2
-rw-r--r--package.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7bd45b86d..211be1435 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ check: tsc yarn-install
.PHONY: coverage
coverage: tsc yarn-install
- $(nyc) $(ava) 'build/**/*-test.js'
+ $(nyc) --all $(ava) 'build/**/*-test.js'
diff --git a/package.json b/package.json
index b2c969117..b4ca383af 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,9 @@
"nyc": {
"exclude": [
"emscripten"
+ ],
+ "include": [
+ "build/src/**/*.js"
]
},
"devDependencies": {