{"library":"mock-fetch","type":"library","category":null,"description":"Mock the browser's fetch API for testing. Version 1.0.0 provides a simple way to intercept fetch calls in tests. Lightweight library with no dependencies. Differentiates from alternatives like jest-fetch-mock by providing a simpler API focused solely on mocking fetch.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","mock","fetch","xhr","ajax","testing"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install mock-fetch","imports":["import { mockFetch } from 'mock-fetch'","import { MockResponse } from 'mock-fetch'","import type { FetchMock } from 'mock-fetch'"]},{"cmd":"yarn add mock-fetch","imports":[]},{"cmd":"pnpm add mock-fetch","imports":[]}],"homepage":"https://github.com/laurelandwolf/mock-fetch#readme","github":"ssh://git@github.com/laurelandwolf/mock-fetch","docs":null,"changelog":null,"pypi":null,"npm":"mock-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}