diff --git a/doc/api/cli.md b/doc/api/cli.md index afa0058e0032d6..48fb67adf811f8 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -440,6 +440,17 @@ the ability to import a directory that has an index file. See [customizing ESM specifier resolution][] for example usage. +### `--experimental-test-coverage` + + + +When used in conjunction with the `node:test` module, a code coverage report is +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-vm-modules` - -When used in conjunction with the `node:test` module, a code coverage report is -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. - ### `--test-name-pattern`