--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.
terminal
See Docs > Test runner for complete documentation of
bun test
.--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.
# re-run each test 10 times
bun test --rerun-each 10
bun test
.Was this page helpful?