karma.conf.js
33 lines
| 638 B
| application/javascript
|
JavascriptLexer
/ frontend / karma.conf.js
r0 | module.exports = function(config){ | |||
config.set({ | ||||
basePath : './', | ||||
files : [ | ||||
r180 | 'node_modules/angular/angular.js', | |||
'node_modules/angular-route/angular-route.js', | ||||
'node_modules/angular-mocks/angular-mocks.js', | ||||
'node_modules/angular-scenario/angular-scenario.js', | ||||
r0 | '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' | ||||
} | ||||
}); | ||||
r180 | }; | |||