karma.conf.js
32 lines
| 653 B
| application/javascript
|
JavascriptLexer
/ frontend / karma.conf.js
r0 | module.exports = function(config){ | ||
config.set({ | |||
basePath : './', | |||
files : [ | |||
'bower_components/angular/angular.js', | |||
'bower_components/angular-route/angular-route.js', | |||
'bower_components/angular-mocks/angular-mocks.js', | |||
'bower_components/angular-scenario/angular-scenario.js', | |||
'src/**/*.js' | |||
], | |||
autoWatch : true, | |||
frameworks: ['jasmine'], | |||
browsers : ['Chrome'], | |||
plugins : [ | |||
'karma-chrome-launcher', | |||
'karma-firefox-launcher', | |||
'karma-jasmine', | |||
'karma-junit-reporter' | |||
], | |||
junitReporter : { | |||
outputFile: 'test_out/unit.xml', | |||
suite: 'unit' | |||
} | |||
}); | |||
}; |