diff --git a/doc/api/cli.md b/doc/api/cli.md index 3a8e278df68f36..422ee7b61d686e 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1025,20 +1025,6 @@ generated as part of the test runner output. If no tests are run, a coverage report is not generated. See the documentation on [collecting code coverage from tests][] for more details. -### `--experimental-test-isolation=mode` - - - -> Stability: 1.0 - Early development - -Configures the type of test isolation used in the test runner. When `mode` is -`'process'`, each test file is run in a separate child process. When `mode` is -`'none'`, all test files run in the same process as the test runner. The default -isolation mode is `'process'`. This flag is ignored if the `--test` flag is not -present. See the [test runner execution model][] section for more information. - ### `--experimental-test-module-mocks` The maximum number of test files that the test runner CLI will execute -concurrently. If `--experimental-test-isolation` is set to `'none'`, this flag -is ignored and concurrency is one. Otherwise, concurrency defaults to +concurrently. If `--test-isolation` is set to `'none'`, this flag is ignored and +concurrency is one. Otherwise, concurrency defaults to `os.availableParallelism() - 1`. ### `--test-coverage-branches=threshold` @@ -2323,6 +2309,23 @@ added: Configures the test runner to exit the process once all known tests have finished executing even if the event loop would otherwise remain active. +### `--test-isolation=mode` + + + +Configures the type of test isolation used in the test runner. When `mode` is +`'process'`, each test file is run in a separate child process. When `mode` is +`'none'`, all test files run in the same process as the test runner. The default +isolation mode is `'process'`. This flag is ignored if the `--test` flag is not +present. See the [test runner execution model][] section for more information. + ### `--test-name-pattern`