Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndrew Fontaine <afontaine@gitlab.com>2019-03-11 16:18:24 +0300
committerAndrew Fontaine <afontaine@gitlab.com>2019-03-11 16:58:32 +0300
commit618902d2902f9539a8ac2ada4a2d72faa41fc429 (patch)
treeec6b8d1112d16fbf5fcf09383d50d51121995ca9 /config
parente8e25a0f405f866dced809cf626d18fcd7b33988 (diff)
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')
-rw-r--r--config/karma.config.js4
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,