diff --git a/test/parallel/test-util-log.js b/test/parallel/test-util-log.js index 4d81fc8f7a4255..3de79b835d85a3 100644 --- a/test/parallel/test-util-log.js +++ b/test/parallel/test-util-log.js @@ -25,6 +25,7 @@ const { hijackStdout, hijackStderr, restoreStdout, + restoreStderr, } = require('../common/hijackstdio'); const assert = require('assert'); const util = require('util'); @@ -63,3 +64,4 @@ tests.forEach(function(test) { assert.strictEqual(process.stdout.writeTimes, tests.length); restoreStdout(); +restoreStderr();