test: fix test-repl not validating leaked globals properly

PR-URL: https://github.com/nodejs/node/pull/44640
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This commit is contained in:
Antoine du Hamel authored and RafaelGSS committed 2022-09-26 19:07:43 -03:00
1 parent 29f57b7899
commit a3095d217f
1 file changed
+2 -1
+2 -1
View File
@@ -840,7 +840,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() {