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 Nov 21, 2017
1 parent 13919f8 commit fb5a7af
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 fb5a7af

Please sign in to comment.