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 29f57b7 commit a3095d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-repl.js
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 a3095d2

Please sign in to comment.