summary refs log tree commit diff
path: root/webclient/test/karma.conf.js
diff options
context:
space:
mode:
Diffstat (limited to 'webclient/test/karma.conf.js')
-rw-r--r--webclient/test/karma.conf.js17
1 files changed, 13 insertions, 4 deletions
diff --git a/webclient/test/karma.conf.js b/webclient/test/karma.conf.js

index 22c4eaaafa..083c7c7200 100644 --- a/webclient/test/karma.conf.js +++ b/webclient/test/karma.conf.js
@@ -23,6 +23,8 @@ module.exports = function(config) { '../js/angular-animate.js', '../js/angular-sanitize.js', '../js/ng-infinite-scroll-matrix.js', + '../js/ui-bootstrap*', + '../js/elastic.js', '../login/**/*.*', '../room/**/*.*', '../components/**/*.*', @@ -35,6 +37,10 @@ module.exports = function(config) { './unit/**/*.js' ], + plugins: [ + 'karma-*', + ], + // list of files to exclude exclude: [ @@ -50,8 +56,11 @@ module.exports = function(config) { // test results reporter to use // possible values: 'dots', 'progress' // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['progress'], - + reporters: ['progress', 'junit'], + junitReporter: { + outputFile: 'test-results.xml', + suite: '' + }, // web server port port: 9876, @@ -72,11 +81,11 @@ module.exports = function(config) { // start these browsers // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['Chrome'], + browsers: ['PhantomJS'], // Continuous Integration mode // if true, Karma captures browsers, runs the tests and exits - singleRun: false + singleRun: true }); };