File SystemTest Runner
Bail early with the Bun test runner
Use the --bail flag to abort a test run after the first failure, so a continuous integration run fails as early as possible.
Set a per-test timeout with the Bun test runner
Use the --timeout flag to set a timeout for each test in milliseconds. A test that exceeds this timeout is marked as failed.
Re-run tests multiple times with the Bun test runner
The --rerun-each flag runs every test multiple times. Use it to find flaky or non-deterministic tests.