src: add test flag to config file

PR-URL: https://github.com/nodejs/node/pull/60798
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
Marco Ippolito authored and Antoine du Hamel committed 2026-01-19 19:19:10 +01:00
1 parent a7bb9746ba
commit 6529334dec
2 files changed
+6 -1

No files matched your search

+3
View File
@@ -607,6 +607,9 @@
"experimental-test-module-mocks": {
"type": "boolean"
},
"test": {
"type": "boolean"
},
"test-concurrency": {
"type": "number"
},
+3 -1
View File
@@ -819,7 +819,9 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
AddOption("--test",
"launch test runner on startup",
&EnvironmentOptions::test_runner,
kDisallowedInEnvvar);
kDisallowedInEnvvar,
false,
OptionNamespaces::kTestRunnerNamespace);
AddOption("--test-concurrency",
"specify test runner concurrency",
&EnvironmentOptions::test_runner_concurrency,