mock-fetch-api
JSON →A lightweight library (v1.0.7, no recent releases) for mocking HTTP requests and responses using the fetch API or isomorphic-fetch in unit tests. It provides a simple chainable API: when().withExpectedHeader().otherwiseRespondWith().respondWith(), plus failNextCall() for network errors. Compared to fetch-mock, it is less active and feature-limited but easier to read.
Traffic · last 30 days stale · no recent hits
total hits 13
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · BD · 🇨🇳 China
Resources
packagemock-fetch-api ↗