{"library":"chai-fetch-mock","type":"library","category":null,"description":"Chai plugin for fetch-mock library version 3.0.0. Provides Chai assertions for fetch-mock, a mocking library for fetch() and isomorphic-fetch. Active maintenance, weekly release cadence. Differentiator: adds fluent BDD-style assertions like `.called`, `.with.args()`, `.with.url()`, `.with.options()` for fetch-mock routes, requiring careful ordering with other Chai plugins. Supports Node.js 7+ and Chai 3.x/4.x, fetch-mock 5.1.x/6.x. Note: fetch-mock 6.0 requires Node >=7.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","chai","fetch","fetch-mock"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install chai-fetch-mock","imports":["import chaiFetchMock from 'chai-fetch-mock'","chai.use(chaiFetchMock)","expect(fetchMock).route('/cats').to.have.been.called"]},{"cmd":"yarn add chai-fetch-mock","imports":[]},{"cmd":"pnpm add chai-fetch-mock","imports":[]}],"homepage":"https://github.com/gakimball/chai-fetch-mock#readme","github":"https://github.com/gakimball/chai-fetch-mock","docs":null,"changelog":null,"pypi":null,"npm":"chai-fetch-mock","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}