34 lines
640 B
JavaScript
34 lines
640 B
JavaScript
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',
|
|
'js/**/*.js',
|
|
'test/unit/**/*.js'
|
|
],
|
|
|
|
autoWatch : true,
|
|
|
|
frameworks: ['jasmine'],
|
|
|
|
browsers : ['PhantomJS'],
|
|
|
|
singleRun: true,
|
|
|
|
plugins : [
|
|
'karma-phantomjs-launcher',
|
|
'karma-jasmine',
|
|
'karma-junit-reporter'
|
|
],
|
|
|
|
junitReporter : {
|
|
outputFile: 'test_out/unit.xml',
|
|
suite: 'unit'
|
|
}
|
|
|
|
});
|
|
};
|