diff --git a/doc/api/cli.md b/doc/api/cli.md index 01efb97e31be23..2e9452305878c1 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1097,6 +1097,18 @@ 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-cwd=directory` + + + +> Stability: 1.0 - Early development + +Set the current working directory for the test runner. +If not specified, the current working directory is used. +This flag is particularly useful when running tests from a different directory. + ### `--experimental-test-isolation=mode`