Skip to content

Commit

Permalink
test: check that --expose-internals is disallowed in NODE_OPTIONS
Browse files Browse the repository at this point in the history
Add test cases that confirm that `--expose-internals` and
`--expose_internals` are disallowed in the NODE_OPTIONS environment
variable.
  • Loading branch information
juanarbol committed Mar 30, 2020
1 parent cd1db2d commit 2383373
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-cli-node-options-disallowed.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ disallow('-c');
disallow('--interactive');
disallow('-i');
disallow('--v8-options');
disallow('--expose_internals');
disallow('--expose-internals');
disallow('--');

function disallow(opt) {
Expand Down

0 comments on commit 2383373

Please sign in to comment.