From 9cb85bcbd96b711d7f0999d3ffe7e42619380901 Mon Sep 17 00:00:00 2001 From: Jake Marsh Date: Wed, 16 Dec 2015 16:54:32 -0800 Subject: [PATCH] don't use constant for test files --- test/karma.conf.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/karma.conf.js b/test/karma.conf.js index 32891dfb..58c0d869 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -5,15 +5,13 @@ var isparta = require('isparta'); module.exports = function(config) { - var TEST_FILES = 'test/unit/**/*.js'; - config.set({ basePath: '../', frameworks: ['jasmine', 'browserify'], preprocessors: { 'app/js/**/*.js': ['browserify', 'coverage'], - TEST_FILES: ['browserify'] + 'test/unit/**/*.js': ['browserify'] }, browsers: ['Chrome'], reporters: ['progress', 'coverage'], @@ -47,7 +45,8 @@ module.exports = function(config) { // 3rd-party resources 'node_modules/angular-mocks/angular-mocks.js', - TEST_FILES + // test files + 'test/unit/**/*.js' ] });