diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js index c1f87345c8e326..266e966540ffbb 100644 --- a/test/parallel/test-repl.js +++ b/test/parallel/test-repl.js @@ -835,7 +835,8 @@ const tcpTests = [ socket.end(); } - common.allowGlobals(...Object.values(global)); + common.allowGlobals(global.invoke_me, global.message, global.a, global.blah, + global.I, global.f, global.path, global.x, global.name, global.foo); })().then(common.mustCall()); function startTCPRepl() {