From c7e8ee1cfa10480fb46b79277f290188bab457d6 Mon Sep 17 00:00:00 2001 From: harttle Date: Mon, 5 Mar 2018 15:29:04 +0800 Subject: [PATCH] fix: preprocessor for coveralls --- karma.conf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karma.conf.js b/karma.conf.js index 0835f46..dcdfff0 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -44,7 +44,7 @@ module.exports = function (config) { // source files, that you wanna generate coverage for // do not include tests or libraries // (these files will be instrumented by Istanbul) - 'index.js': ['coverage'] + 'src/**/*.js': ['coverage'] }, // test results reporter to use