27 lines
555 B
JavaScript
27 lines
555 B
JavaScript
// Contents of: config/karma.conf.js
|
|
module.exports = function (config) {
|
|
config.set({
|
|
basePath : '../',
|
|
|
|
// Fix for "JASMINE is not supported anymore" warning
|
|
frameworks : ["jasmine"],
|
|
|
|
files : [
|
|
'app/lib/angular/angular.js',
|
|
'app/lib/angular/angular-*.js',
|
|
'test/lib/angular/angular-mocks.js',
|
|
'app/js/**/*.js',
|
|
'test/unit/**/*.js'
|
|
],
|
|
|
|
autoWatch : true,
|
|
|
|
browsers : ['Chrome'],
|
|
|
|
junitReporter : {
|
|
outputFile : 'test_out/unit.xml',
|
|
suite : 'unit'
|
|
//...
|
|
}
|
|
});
|
|
}; |