diff --git a/doc/api/cli.md b/doc/api/cli.md index bc1f69483f3f7f..f994d8eead79bd 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1386,7 +1386,7 @@ added: Enable the experimental [`node:stream/iter`][] module. -### `--experimental-test-coverage` +### `--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 +Enable code coverage collection in the test runner. If no tests are run, a +coverage report is not generated. See the documentation on [collecting code coverage from tests][] for more details. +The legacy `--experimental-test-coverage` flag is supported as an alias. + ### `--experimental-test-module-mocks`