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: nodejs#44640
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
  • Loading branch information
aduh95 authored and Fyko committed Sep 15, 2022
1 parent 828ffbd commit 3433948
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 3433948

Please sign in to comment.