29 lines
570 B
JavaScript
29 lines
570 B
JavaScript
'use strict';
|
|
// 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'
|
|
//...
|
|
}
|
|
});
|
|
}; |