From 9962faf2bc92d5d61d49ac8034733a1b3caf769a Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Sat, 4 Aug 2018 09:31:21 +0200 Subject: [PATCH] test(coverage): generate coverage for all source --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package.json b/package.json index 83c8d019..5946ea6c 100644 --- a/package.json +++ b/package.json @@ -160,6 +160,13 @@ "homepage": "https://github.com/LN-Zap/zap-desktop#readme", "jest": { "collectCoverage": true, + "collectCoverageFrom": [ + "app/**/*.js", + "!app/main.prod.js", + "!app/dll/**", + "!app/coverage/**", + "!**/node_modules/**" + ], "coverageReporters": [ "json", "lcov",