{"library":"axios-test-instance","type":"library","category":null,"description":"Axios Test Instance is a Node.js library designed to simplify the testing of backend applications by enabling in-memory HTTP requests using the familiar Axios API. It allows developers to test Express, Koa, Fastify, or raw Node.js HTTP handlers without initiating actual network calls, significantly accelerating integration test suites. The current stable version is 8.0.0, and the package maintains a release cadence tied to major updates of its core dependency, Axios, and Node.js LTS release cycles. Its primary strength lies in providing a convenient abstraction over backend server testing, offering methods like `setTestApp` for Jest/Mocha-style global setup, `createInstance` for fine-grained control over test instances, and `patchInstance` to redirect requests from existing Axios configurations. This approach ensures robust testing while maintaining development velocity and adhering to modern JavaScript module standards.","language":"javascript","status":"active","version":"8.0.0","tags":["javascript","axios","express","fastify","http","jest","koa","test","testing","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install axios-test-instance","imports":["import { request } from 'axios-test-instance';","import { setTestApp } from 'axios-test-instance';","import { createInstance } from 'axios-test-instance';","import type { AxiosTestInstance } from 'axios-test-instance';"]},{"cmd":"yarn add axios-test-instance","imports":[]},{"cmd":"pnpm add axios-test-instance","imports":[]}],"homepage":null,"github":"https://github.com/remcohaszing/axios-test-instance","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/axios-test-instance","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/axios-test-instance/compatibility"}}