31 lines
585 B
JavaScript
31 lines
585 B
JavaScript
module.exports = function(config) {
|
|
config.set({
|
|
basepath: './',
|
|
files : [
|
|
'webapp/bower_components/angular/angular.js',
|
|
'webapp/bower_components/angular-route/angular-route.js',
|
|
'webapp/bower_components/angular-mocks/angular-mocks.js',
|
|
'webapp/js/**/*.js',
|
|
'test/specs/**/*.js'
|
|
],
|
|
|
|
autoWatch: true,
|
|
|
|
frameworks: ['jasmine'],
|
|
|
|
browser: ['Chrome'],
|
|
|
|
plugins : [
|
|
'karma-chrome-launcher',
|
|
'karma-firefox-launcher',
|
|
'karma-jasmine',
|
|
'karma-junit-reporter'
|
|
],
|
|
|
|
junitReporter : {
|
|
outputFile: 'test_out/unit.xml',
|
|
suite: 'unit'
|
|
}
|
|
});
|
|
};
|