bun-fetch-mock
JSON →A fetch mocking library designed specifically for Bun's runtime (≥1.0.0). Version 1.0.2 provides a simple API for mocking HTTP requests in Bun tests with TypeScript support. Key differentiators: zero external dependencies, first-class Bun integration (no polyfills needed), assertion helpers to verify all mocks were used, and support for dynamic responses. Released as MIT, actively maintained on GitHub.
Resources
packagebun-fetch-mock ↗