From 67d2258bb68280971ab6e540b3fd581a78b9296f Mon Sep 17 00:00:00 2001 From: Keegan Date: Wed, 27 Jan 2016 11:22:08 -0800 Subject: [PATCH] fix coverage --- test/karma.conf.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/karma.conf.js b/test/karma.conf.js index 89a1024..a838872 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -29,6 +29,7 @@ module.exports = function(config) { // list of files / patterns to load in the browser files: [ + 'src/scripts/**/*.js', 'test/spec/**/*.js' ], @@ -38,8 +39,8 @@ module.exports = function(config) { // preprocess matching files before serving them to the browser // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor preprocessors: { - 'test/spec/**/*.js': ['browserify'], - 'src/*.js': ['coverage'] + 'src/scripts/**/*.js': ['browserify'], + 'test/spec/**/*.js': ['browserify'] }, // test results reporter to use