diff --git a/doc/api/cli.md b/doc/api/cli.md index b1746a23f7f99d..c4c38650961246 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -436,6 +436,17 @@ added: Use this flag to enable [ShadowRealm][] support. +### `--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`