build: karma now reports with mocha formatter
authorAntoine Musso <hashar@free.fr>
Mon, 6 Mar 2017 20:13:04 +0000 (21:13 +0100)
committerKrinkle <krinklemail@gmail.com>
Mon, 20 Mar 2017 19:12:18 +0000 (19:12 +0000)
commitc35a2c056759b6804558fe3eb4981c9c09495db3
treedf3e7ebd9c8316084cdcf9da382d8fba92dcda7e
parentbaa9036839396fb3b3a12bc06f52291b083a226d
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
Gruntfile.js
package.json