fe24302a73
glowing-bear.js needs to be loaded before the modules building upon it
47 lines
973 B
JavaScript
47 lines
973 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/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',
|
|
'js/plugins.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'
|
|
}
|
|
|
|
});
|
|
};
|