Bun 11 âš¡ Writing and Running Unit Tests with Bun’s Native Test Runner
Bun ships with a built-in test runner, and it is not a wrapper around Jest or Vitest. The bun:test module is implemented in the runtime and executed by Bun itself. This means TypeScript and JSX test files run without a transpilation step, the startup cost is eliminated, and the runner is significantly faster than Jest—benchmarks…