bun-test
Run tests using Bun's built-in test runner. tldr-pages
On several platforms
Several platforms
Run tests using Bun's built-in test runner. It is a fast, Jest-compatible test runner that looks for *.test.ts (and similar) files.
Run all test files found in the project
bun testIdentifyRun a specific test file or directory
bun test path/to/file.test.tsIdentifyRun tests in "watch" mode (re-runs automatically on file changes)
bun test --watchIdentifyRun tests and generate a code coverage report
bun test --coverageIdentify