From 2fc214d81d3dc471e92bd5539d9ae55d4897cb13 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 28 May 2017 00:09:17 +0200 Subject: [PATCH] even better coverage settings (include all files) --- Makefile | 2 +- package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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": {