diff --git a/doc/api/cli.md b/doc/api/cli.md index 6dbc33ebd07547..09e7854340a770 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1231,6 +1231,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`