diff --git a/test/parallel/test-https-truncate.js b/test/parallel/test-https-truncate.js index 23877458b36039..b4fbfda796f56c 100644 --- a/test/parallel/test-https-truncate.js +++ b/test/parallel/test-https-truncate.js @@ -46,6 +46,6 @@ const test = common.mustCall(function(res) { res.on('data', function(chunk) { bytes += chunk.length; this.pause(); - setTimeout(() => { this.resume() }, 1); + setTimeout(() => { this.resume(); }, 1); }); });