From 618902d2902f9539a8ac2ada4a2d72faa41fc429 Mon Sep 17 00:00:00 2001 From: Andrew Fontaine Date: Mon, 11 Mar 2019 09:18:24 -0400 Subject: [PATCH] Make the Default Reporter `mocha` For Karma The `mocha` reporter provides a lot of detail about which tests that fail and why. --- config/karma.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/karma.config.js b/config/karma.config.js index e1d7c30b1c2..1012a713eb6 100644 --- a/config/karma.config.js +++ b/config/karma.config.js @@ -112,13 +112,13 @@ module.exports = function(config) { preprocessors: { 'spec/javascripts/**/*.js': ['webpack', 'sourcemap'], }, - reporters: ['progress'], + reporters: ['mocha'], webpack: webpackConfig, webpackMiddleware: { stats: 'errors-only' }, }; if (process.env.CI) { - karmaConfig.reporters = ['mocha', 'junit']; + karmaConfig.reporters.push('junit'); karmaConfig.junitReporter = { outputFile: 'junit_karma.xml', useBrowserName: false,