Skip to content

Commit

Permalink
cli: allow test-coverage, module mocks, and snapshots in NODE_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobJingleheimer committed Dec 2, 2024
1 parent d5d1e80 commit 0c48b26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/node_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,9 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
kAllowedInEnvvar);
AddOption(
"--experimental-specifier-resolution", "", NoOp{}, kAllowedInEnvvar);
AddOption("--experimental-test-coverage", "", NoOp{}, kAllowedInEnvvar);
AddOption("--experimental-test-module-mocks", "", NoOp{}, kAllowedInEnvvar);
AddOption("--experimental-test-snapshots", "", NoOp{}, kAllowedInEnvvar);
AddAlias("--es-module-specifier-resolution",
"--experimental-specifier-resolution");
AddOption("--deprecation",
Expand Down

0 comments on commit 0c48b26

Please sign in to comment.