2018-08-22 19:38:09 +02:00
|
|
|
'use strict';
|
2015-07-21 01:13:42 +02:00
|
|
|
// Contents of: config/karma.conf.js
|
2018-08-22 19:38:09 +02:00
|
|
|
|
2015-07-21 01:13:42 +02:00
|
|
|
module.exports = function (config) {
|
|
|
|
config.set({
|
|
|
|
basePath : '../',
|
|
|
|
|
|
|
|
// Fix for "JASMINE is not supported anymore" warning
|
2018-08-22 19:38:09 +02:00
|
|
|
frameworks : ['jasmine'],
|
2015-07-21 01:13:42 +02:00
|
|
|
|
|
|
|
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'
|
|
|
|
//...
|
|
|
|
}
|
|
|
|
});
|
2015-07-21 22:06:13 +02:00
|
|
|
};
|