bansho/karma.conf.js

41 lines
978 B
JavaScript
Raw Normal View History

'use strict';
2014-12-16 17:05:07 -05:00
module.exports = function (config) {
config.set({
2014-12-16 17:05:07 -05:00
basePath : './',
2014-12-16 17:05:07 -05:00
files : [
2015-02-20 15:14:58 -05:00
'app/bower_components/jquery/dist/jquery.min.js',
'app/bower_components/angular/angular.js',
'app/bower_components/angular-route/angular-route.js',
'app/bower_components/angular-mocks/angular-mocks.js',
2015-01-20 14:29:10 -05:00
'app/components/live/live.js',
'app/components/**/*.js',
2015-01-20 14:29:10 -05:00
'app/topbar/**/*.js',
'app/sidebar/**/*.js',
2015-01-20 14:29:10 -05:00
'app/tactical/**/*.js',
'app/table/**/*.js'
],
2014-12-16 17:05:07 -05:00
autoWatch : true,
2014-12-16 17:05:07 -05:00
frameworks: ['jasmine'],
2014-12-16 17:05:07 -05:00
browsers : ['Chrome'],
plugins : [
2014-12-16 17:05:07 -05:00
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-jasmine',
'karma-junit-reporter'
],
2014-12-16 17:05:07 -05:00
junitReporter : {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}
2014-12-16 17:05:07 -05:00
});
2014-12-16 17:05:07 -05:00
};