Skip to content

Commit

Permalink
Merge pull request mochajs#1 from phillipalexander/reporter-hack
Browse files Browse the repository at this point in the history
Reporter hack
  • Loading branch information
phillipalexander committed Nov 5, 2013
2 parents d230cf2 + b4cd8ad commit eeacd18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/reporters/json.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ function JSONReporter(runner) {
, passes: passes.map(clean)
};

process.stdout.write(JSON.stringify(obj, null, 2));
//process.stdout.write(JSON.stringify(obj, null, 2));
top.parent.onSpecComplete(obj);
});
}

Expand Down
3 changes: 2 additions & 1 deletion mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -3050,7 +3050,8 @@ function JSONReporter(runner) {
, passes: passes.map(clean)
};

process.stdout.write(JSON.stringify(obj, null, 2));
// process.stdout.write(JSON.stringify(obj, null, 2));
top.parent.onSpecComplete(obj);
});
}

Expand Down

0 comments on commit eeacd18

Please sign in to comment.