Better diffs for specs.

This commit is contained in:
Roger Braun 2016-11-18 19:47:47 +01:00
parent 8723c35d43
commit 05afbbaf66
3 changed files with 17 additions and 2 deletions

View file

@ -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: [