Skip to main content
Bun’s test runner can generate code coverage reports.

Run with Coverage

Output Formats

Coverage Thresholds

Set thresholds in bunfig.toml:
bunfig.toml
See Code Coverage for complete documentation.