Skip to content

Commit a46dd37

Browse files
aduh95juanarbol
authored andcommittedOct 11, 2022
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 24172ca commit a46dd37

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
@@ -835,7 +835,8 @@ const tcpTests = [
835835

836836
socket.end();
837837
}
838-
common.allowGlobals(...Object.values(global));
838+
common.allowGlobals(global.invoke_me, global.message, global.a, global.blah,
839+
global.I, global.f, global.path, global.x, global.name, global.foo);
839840
})().then(common.mustCall());
840841

841842
function startTCPRepl() {

0 commit comments

Comments
 (0)
Please sign in to comment.