From 6a51d25eded9dda89ce2ca46a71c6d618724432d Mon Sep 17 00:00:00 2001 From: Andreas Hippler Date: Sat, 28 Jul 2018 22:37:57 +0200 Subject: [PATCH] fix karma coverage config --- karma.conf.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/karma.conf.js b/karma.conf.js index 1e46275..f494ee7 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -16,6 +16,9 @@ module.exports = function (config) { sourceMap: true, }, tsconfig: "tsconfig.json", + coverageOptions: { + exclude: /(\.(d|spec|test)\.ts|test\/helper.ts)$/i + }, reports: { text: "", lcovonly: {