mswjs
Industry standard API mocking for JavaScript.
Built from mswjs's public GitHub profile. Not on Take My Repo yet, so there are no posts or updates here.
Generate MSW request handlers from various sources (HAR files, OpenAPI documents, etc).
Spawn an HTTP server from your request handlers or apply them to an existing server using a middleware.
A superset of the JSDOM environment for Jest that respects Node.js globals.
Manage request/response cookies in the environments where those are not supported.
Persistence and live synchronization layer for testing JavaScript applications.
Binding to mock Socket.IO connections with Mock Service Worker.
Reliably determines if the code is running in Node.js. Treats Jest, React Native, Electron, and others like Node.js.