msw-snapshot
JSON →Transparently create an API cache for testing using MSW. v5.3.0 (stable). Integrates with MSW v2 to snapshot network requests and replay them in tests, reducing reliance on live APIs. Key differentiators: supports snapshot update strategies (none/all/missing), customizable snapshot paths via createSnapshotPath, and callbacks for fetch events. Ships TypeScript types. Requires msw ^2.0.0 as a peer dependency.
Resources
packagemsw-snapshot ↗