diff --git a/doc/api/cli.md b/doc/api/cli.md index d69086b0bf6f08..4b4a766854a338 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1187,6 +1187,16 @@ Starts the Node.js command line test runner. This flag cannot be combined with `--check`, `--eval`, `--interactive`, or the inspector. See the documentation on [running tests from the command line][] for more details. +### `--test-name-pattern` + + + +A regular expression that configures the test runner to only execute tests +whose name matches the provided pattern. See the documentation on +[filtering tests by name][] for more details. + ### `--test-only`