Skip to content

Commit 8c68dd4

Browse files
juanarboltargos
authored andcommitted
test: check that --expose-internals is disallowed in NODE_OPTIONS
Add test cases that confirm that `--expose-internals` and `--expose_internals` are disallowed in the NODE_OPTIONS environment variable. PR-URL: #32554 Refs: #32542 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 4ffa138 commit 8c68dd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-cli-node-options-disallowed.js

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ disallow('-c');
2525
disallow('--interactive');
2626
disallow('-i');
2727
disallow('--v8-options');
28+
disallow('--expose_internals');
29+
disallow('--expose-internals');
2830
disallow('--');
2931

3032
function disallow(opt) {

0 commit comments

Comments
 (0)