diff --git a/test/parallel/test-http-pause.js b/test/parallel/test-http-pause.js index 0294cf5625b5e8..555eece2e3f13b 100644 --- a/test/parallel/test-http-pause.js +++ b/test/parallel/test-http-pause.js @@ -48,6 +48,8 @@ const server = http.createServer((req, res) => { }); server.listen(0, function() { + // Anonymous function rather than arrow function to test `this` value. + assert.strictEqual(this, server); const req = http.request({ port: this.address().port, path: '/',