docs: --bail [n] -> --bail=[n] (#15301)

This commit is contained in:
Michael H
2024-11-21 15:46:57 +11:00
committed by GitHub
parent 0eb6a4c55e
commit 43dcb8fce1
3 changed files with 3 additions and 3 deletions

View File

@@ -124,7 +124,7 @@ Use the `--bail` flag to abort the test run early after a pre-determined number
$ bun test --bail
# bail after 10 failure
$ bun test --bail 10
$ bun test --bail=10
```
## Watch mode

View File

@@ -14,7 +14,7 @@ To bail after a certain threshold of failures, optionally specify a number after
```sh
# bail after 10 failures
$ bun test --bail 10
$ bun test --bail=10
```
---

View File

@@ -57,7 +57,7 @@ Replace `bail` in your Jest config with the `--bail` CLI flag.
``` -->
```sh
$ bun test --bail 3
$ bun test --bail=3
```
---