initial commit

This commit is contained in:
i2p
2026-08-27 21:09:14 +00:00
commit a5b6d59437
12681 changed files with 3253832 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
---
title: Bail early with the Bun test runner
sidebarTitle: Bail early
mode: center
---
Use the `--bail` flag to abort a test run after the first failure, so a continuous integration run fails as early as possible.
```sh terminal icon="terminal"
bun test --bail
```
---
To bail after a certain number of failures, pass a number after the flag.
```sh terminal icon="terminal"
# bail after 10 failures
bun test --bail=10
```
---
See [`bun test`](/test).