diff --git a/doc/api/cli.md b/doc/api/cli.md index 52e9cf6cb8615c..40a42864fba80a 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2614,6 +2614,21 @@ Starts the Node.js command line test runner. This flag cannot be combined with See the documentation on [running tests from the command line][] for more details. +### `--test-bail` + + + +> Stability: 1.0 - Early development + +Stops the test runner after the first test failure. + +Behavior depends on `--test-isolation`. +See the [test runner execution model][] section for details. + +This flag cannot be combined with `--watch`. + ### `--test-concurrency`