Skip to content

Commit a3095d2

Browse files
aduh95RafaelGSS
authored andcommittedSep 26, 2022
test: fix test-repl not validating leaked globals properly
PR-URL: #44640 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 29f57b7 commit a3095d2

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)
Please sign in to comment.