2014-08-02 17:46:19 +02:00
|
|
|
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',
|
2014-12-30 21:05:40 +01:00
|
|
|
'bower_components/angular-sanitize/angular-sanitize.js',
|
|
|
|
'bower_components/angular-touch/angular-touch.js',
|
2016-11-02 22:41:04 +01:00
|
|
|
'bower_components/underscore/underscore.js',
|
2014-08-28 18:49:47 +02:00
|
|
|
'js/localstorage.js',
|
|
|
|
'js/weechat.js',
|
|
|
|
'js/irc-utils.js',
|
|
|
|
'js/glowingbear.js',
|
|
|
|
'js/utils.js',
|
|
|
|
'js/notifications.js',
|
|
|
|
'js/filters.js',
|
|
|
|
'js/handlers.js',
|
|
|
|
'js/connection.js',
|
|
|
|
'js/inputbar.js',
|
|
|
|
'js/plugin-directive.js',
|
|
|
|
'js/websockets.js',
|
|
|
|
'js/models.js',
|
2016-09-06 18:11:05 +02:00
|
|
|
'js/bufferResume.js',
|
2014-08-28 18:49:47 +02:00
|
|
|
'js/plugins.js',
|
2014-08-02 17:46:19 +02:00
|
|
|
'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'
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
};
|