From 108a452fc0b85c2b8bb889e2ca4db71da88a249f Mon Sep 17 00:00:00 2001 From: Charlike Mike Reagent Date: Thu, 1 Nov 2018 22:46:42 +0200 Subject: [PATCH] fix: update nycrc config for coverage --- .nycrc.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.nycrc.json b/.nycrc.json index 57062f9..ca18828 100644 --- a/.nycrc.json +++ b/.nycrc.json @@ -5,6 +5,18 @@ "lines": 0, "cache": true, "check-coverage": true, - "reporter": ["lcov", "text"], - "exclude": ["*.test.js", "**/*.test.js", "test"] + "require": "esm", + "reporter": [ + "lcov", + "text" + ], + "include": [ + "src/**/*.js" + ], + "exclude": [ + "src/cjs-globals.js", + "*.test.js", + "**/*.test.js", + "test" + ] }