aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2017-03-06 21:13:04 +0100
committerKrinkle <krinklemail@gmail.com>2017-03-20 19:12:18 +0000
commitc35a2c056759b6804558fe3eb4981c9c09495db3 (patch)
treedf3e7ebd9c8316084cdcf9da382d8fba92dcda7e /Gruntfile.js
parentbaa9036839396fb3b3a12bc06f52291b083a226d (diff)
downloadmediawikicore-c35a2c056759b6804558fe3eb4981c9c09495db3.tar.gz
mediawikicore-c35a2c056759b6804558fe3eb4981c9c09495db3.zip
build: karma now reports with mocha formatter
The progress reporter is quite nice to avoid spammy output to the terminal, but it is not very human friendly when trying to find out what is breaking. Mocha has a very nice reporting organized as modules and list items for each of the tests: ext.cx.tools.template ✖ Equivalent template exists ✔ Adapting a template not existing in target language ✖ Adapting template having invalid title ✖ Template name and params adaptation using templatedata ✖ Template params adaptation using templateData - English to French ✖ Template params adaptation using templateData - English to Spanish Add karma-mocha-reporter node module and make it the reporter. Change-Id: Ic7d848b45e8e5ad3839d8a2bd822b63838319ad7
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 1ecc2c032fab..6c56772720ea 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -88,7 +88,7 @@ module.exports = function ( grunt ) {
} ],
logLevel: 'DEBUG',
frameworks: [ 'qunit' ],
- reporters: [ 'progress' ],
+ reporters: [ 'mocha' ],
singleRun: true,
autoWatch: false,
// Some tests in extensions don't yield for more than the default 10s (T89075)