Skip to main content
The --rerun-each flag runs every test multiple times. Use it to find flaky or non-deterministic tests.
terminal
# re-run each test 10 times
bun test --rerun-each 10

See bun test.