Better diffs for specs.
This commit is contained in:
parent
8723c35d43
commit
05afbbaf66
3 changed files with 17 additions and 2 deletions
|
@ -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: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue