GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cli: allow `--test-[name/skip]-pattern` in `NODE_OPTIONS` · nodejs/node@1ca598c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • cli.md
  • src
    • node_options.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/cli.md‎

Copy file name to clipboardExpand all lines: doc/api/cli.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3021,10 +3021,12 @@ one is included in the list below.
30213021
* `--snapshot-blob`
30223022
* `--test-coverage-exclude`
30233023
* `--test-coverage-include`
3024+
* `--test-name-pattern`
30243025
* `--test-only`
30253026
* `--test-reporter-destination`
30263027
* `--test-reporter`
30273028
* `--test-shard`
3029+
* `--test-skip-pattern`
30283030
* `--throw-deprecation`
30293031
* `--title`
30303032
* `--tls-cipher-list`
Collapse file

‎src/node_options.cc‎

Copy file name to clipboardExpand all lines: src/node_options.cc
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,8 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
670670
&EnvironmentOptions::test_runner_snapshots);
671671
AddOption("--test-name-pattern",
672672
"run tests whose name matches this regular expression",
673-
&EnvironmentOptions::test_name_pattern);
673+
&EnvironmentOptions::test_name_pattern,
674+
kAllowedInEnvvar);
674675
AddOption("--test-reporter",
675676
"report test output using the given reporter",
676677
&EnvironmentOptions::test_reporter,
@@ -689,7 +690,8 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
689690
kAllowedInEnvvar);
690691
AddOption("--test-skip-pattern",
691692
"run tests whose name do not match this regular expression",
692-
&EnvironmentOptions::test_skip_pattern);
693+
&EnvironmentOptions::test_skip_pattern,
694+
kAllowedInEnvvar);
693695
AddOption("--test-coverage-include",
694696
"include files in coverage report that match this glob pattern",
695697
&EnvironmentOptions::coverage_include_pattern,

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.