Skip to content

Commit

Permalink
test: fix test-repl not validating leaked globals properly
Browse files Browse the repository at this point in the history
PR-URL: #44640
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
  • Loading branch information
aduh95 authored and RafaelGSS committed Sep 26, 2022
1 parent 8de4849 commit 2618ccb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2618ccb

Please sign in to comment.