GitHub – Mswjs/interceptors: Low-Level Network Interception Library

Low-level community interception library. WebSocket (the WebSocket class in Undici and in the browser). While there are a lot of community mocking libraries, they tend to make use of request interception as an implementation element, providing you with a high-level API that features request matching, timeouts, recording, and so forth. This library is a barebones implementation that provides as little …

View Post