diff --git a/docs/cli/test.md b/docs/cli/test.md index 8ff796f5b0..29912ba2f5 100644 --- a/docs/cli/test.md +++ b/docs/cli/test.md @@ -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 diff --git a/docs/guides/test/bail.md b/docs/guides/test/bail.md index de50745ac1..8b657c5739 100644 --- a/docs/guides/test/bail.md +++ b/docs/guides/test/bail.md @@ -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 ``` --- diff --git a/docs/guides/test/migrate-from-jest.md b/docs/guides/test/migrate-from-jest.md index 3ee6eccb4b..f00eac7537 100644 --- a/docs/guides/test/migrate-from-jest.md +++ b/docs/guides/test/migrate-from-jest.md @@ -57,7 +57,7 @@ Replace `bail` in your Jest config with the `--bail` CLI flag. ``` --> ```sh -$ bun test --bail 3 +$ bun test --bail=3 ``` ---