Skip to content

Commit 2618ccb

Browse files
aduh95RafaelGSS
authored andcommitted
test: fix test-repl not validating leaked globals properly
PR-URL: #44640 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
1 parent 8de4849 commit 2618ccb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-repl.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,8 @@ const tcpTests = [
840840

841841
socket.end();
842842
}
843-
common.allowGlobals(...Object.values(global));
843+
common.allowGlobals(global.invoke_me, global.message, global.a, global.blah,
844+
global.I, global.f, global.path, global.x, global.name, global.foo);
844845
})().then(common.mustCall());
845846

846847
function startTCPRepl() {

0 commit comments

Comments
 (0)