diff options
author | Andrew Fontaine <afontaine@gitlab.com> | 2019-03-11 09:18:24 -0400 |
---|---|---|
committer | Andrew Fontaine <afontaine@gitlab.com> | 2019-03-11 09:58:32 -0400 |
commit | 618902d2902f9539a8ac2ada4a2d72faa41fc429 (patch) | |
tree | ec6b8d1112d16fbf5fcf09383d50d51121995ca9 /config/karma.config.js | |
parent | e8e25a0f405f866dced809cf626d18fcd7b33988 (diff) | |
download | gitlab-ce-618902d2902f9539a8ac2ada4a2d72faa41fc429.tar.gz |
Make the Default Reporter `mocha` For Karma
The `mocha` reporter provides a lot of detail about which tests that
fail and why.
Diffstat (limited to 'config/karma.config.js')
-rw-r--r-- | config/karma.config.js | 4 |
1 files 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, |