Bun
Test Commands
Run tests with Bun's fast, Jest-compatible test runner. Includes built-in matchers, mocking, and snapshot testing.
8 commands
Pro Tips
Bun test is Jest-compatible - most Jest tests work without changes.
Use '--coverage' to generate code coverage reports.
Use '--watch' to re-run tests on file changes.
Common Mistakes
Some Jest plugins may not be compatible - test thoroughly after migration.
Test files should be named *.test.ts or *.spec.ts for auto-discovery.