Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: check --test is disallowed in NODE_OPTIONS
  • Loading branch information
cola119 committed Oct 1, 2022
commit 323930087d8ef8e6dd9b98b061e166a0bf2fb99b
1 change: 1 addition & 0 deletions test/parallel/test-cli-node-options-disallowed.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ disallow('--v8-options');
disallow('--expose_internals');
disallow('--expose-internals');
disallow('--');
disallow('--test');

function disallow(opt) {
const env = { ...process.env, NODE_OPTIONS: opt };
Expand Down