Commit 618902d2 authored by Andrew Fontaine's avatar Andrew Fontaine

Make the Default Reporter `mocha` For Karma

The `mocha` reporter provides a lot of detail about which tests that
fail and why.
parent e8e25a0f
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment