Jest Axios Snapshot
JSON →A Jest snapshot serializer for Axios HTTP responses, enabling snapshot testing of HTTP response bodies and headers. Version 1.0.1 is the current stable release, with TypeScript types included. It serializes Axios response objects into a readable HTTP format, stripping the Date header by default but allowing custom transformers via setResponseTransformer. Differentiator: integrates seamlessly with Jest snapshot testing for Axios responses, supporting inline snapshots and custom header filtering. Built for use with axios-test-instance for testing Express/Koa apps.
Resources
packagejest-axios-snapshot ↗
API endpoints
full doc /v1/registry/jest-axios-snapshot