From 05afbbaf66ee10b751cf5f250835eaa14de6d7ca Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 18 Nov 2016 19:47:47 +0100 Subject: Better diffs for specs. --- test/unit/karma.conf.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/unit/karma.conf.js b/test/unit/karma.conf.js index ce413a43..78910f42 100644 --- a/test/unit/karma.conf.js +++ b/test/unit/karma.conf.js @@ -55,7 +55,7 @@ module.exports = function (config) { // 2. add it to the `browsers` array below. browsers: ['PhantomJS'], frameworks: ['mocha', 'sinon-chai'], - reporters: ['spec'], + reporters: ['mocha'], files: ['./index.js'], preprocessors: { './index.js': ['webpack', 'sourcemap'] @@ -64,6 +64,9 @@ module.exports = function (config) { webpackMiddleware: { noInfo: true }, + mochaReporter: { + showDiff: true + }, coverageReporter: { dir: './coverage', reporters: [ -- cgit v1.2.3-70-g09d2