axios-hooks-mock
JSON →A library for simplifying mocking of axios-hooks in tests, especially when multiple hooks are used together. Current stable version: 1.1.0. Release cadence is low (last release likely 2020). Differentiator: provides a fluent API to mock multiple axios-hook calls with different configs (method, url, params), supports convenience methods like .get() and .addImplementation(), and allows default fallback implementations. Built in TypeScript with full test coverage. Requires peer dependencies: react >=16.9.0, axios, and axios-hooks >=2.0.0.
Resources
packageaxios-hooks-mock ↗