Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Fix cli_test.js silently failing.
Browse files Browse the repository at this point in the history
The `console.log` stub needs to be restored.
  • Loading branch information
tclindner authored and XhmikosR committed Aug 11, 2017
1 parent 0639abf commit 0488810
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/cli_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ function rAfter() {
if (process.stderr.write.restore) {
process.stderr.write.restore();
}

if (console.log.restore) {
console.log.restore();
}
}

exports.bootlint = {
Expand Down

0 comments on commit 0488810

Please sign in to comment.