Skip to content

Commit

Permalink
don't use constant for test files
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemmarsh committed Dec 17, 2015
1 parent 37396fb commit 9cb85bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -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'
]

});
Expand Down

0 comments on commit 9cb85bc

Please sign in to comment.