mswjs / socket.io-binding

Connection wrapper for mocking Socket.IO with MSW.
4 stars 1 forks source link

fix: prevent default forwarding via "this.event" #2

Closed kettanaito closed 9 months ago

kettanaito commented 9 months ago

Changes

Binds the server.on() listener to a custom context that exposes the event property standing for the original MessageEvent instance behind the intercepted Socket.IO message.