{"library":"jest-mock-axios","type":"library","category":null,"description":"Lightweight, synchronous Axios mock for unit testing with Jest, version 4.9.0. It provides a simple API to mock Axios requests and responses, enabling synchronous test execution without waiting for real HTTP calls. Unlike other mocking libraries, it works synchronously, making tests easier to read and write. It requires a manual Jest mock setup and primarily supports Jest. Note: v4.6.0 was inadvertently a pure ES module causing issues; v4.6.1 and later fix this. The library ships TypeScript types.","language":"javascript","status":"active","version":"4.9.0","tags":["javascript","axios","jest","mock","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install jest-mock-axios","imports":["import mockAxios from 'jest-mock-axios';","import mockAxios from 'jest-mock-axios';","import mockAxios from 'jest-mock-axios';"]},{"cmd":"yarn add jest-mock-axios","imports":[]},{"cmd":"pnpm add jest-mock-axios","imports":[]}],"homepage":"https://github.com/knee-cola/jest-mock-axios#readme","github":"https://github.com/knee-cola/jest-mock-axios","docs":null,"changelog":null,"pypi":null,"npm":"jest-mock-axios","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}