Skip to main content
Bun’s test runner includes Jest-compatible mocking.

Mock Function

Spy on Methods

See Mocks for complete documentation.