mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
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:
1 parent
a7bb9746ba
commit
6529334dec
2 files changed
+6
-1
No files matched your search
@@ -607,6 +607,9 @@
|
||||
"experimental-test-module-mocks": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"test": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"test-concurrency": {
|
||||
"type": "number"
|
||||
},
|
||||
|
||||
+3
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user