Skip to content

Commit

Permalink
Ensures when browser tests fail, we see object diffs (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriancole authored Jul 24, 2019
1 parent 6b29aa1 commit 134587e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ module.exports = function(config) {
files: ['test/**/*.js'],
// unless you use the mocha reporter, you won't see test failure details.
reporters: ['mocha'],
mochaReporter: {
// unless showDiff, you won't see which properties were unexpected
showDiff: true,
},
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
Expand Down

0 comments on commit 134587e

Please sign in to comment.