blob: f27d8f251a909371168b8064cbf44876854cd08a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
---
name: Re-run tests multiple times with the Bun test runner
---
Use the `--rerun-each` flag to re-run every test multiple times with the Bun test runner. This is useful for finding flaky or non-deterministic tests.
```sh
# re-run each test 10 times
$ bun test --rerun-each 10
```
---
See [Docs > Test runner](/docs/cli/test) for complete documentation of `bun test`.
|