Skip to content

Commit

Permalink
Merge pull request #1689 from jonathandelgado/patch-1
Browse files Browse the repository at this point in the history
Add stack to json-stream reporter
  • Loading branch information
Joshua Appelman committed Jun 5, 2015
2 parents 18b91e6 + f4d754b commit bf76143
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/reporters/json-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function List(runner) {
runner.on('fail', function(test, err){
test = clean(test);
test.err = err.message;
test.stack = err.stack || null;
console.log(JSON.stringify(['fail', test]));
});

Expand Down

0 comments on commit bf76143

Please sign in to comment.