Closed kettanaito closed 6 months ago
Confirming that in the case of WebSocket events, both target
and currentTarget
point to the WebSocket
client instance:
This has been released in v0.26.14!
Make sure to always update to the latest version (npm i @mswjs/interceptors@latest
) to get the newest features and bug fixes.
Predictable release automation by @ossjs/release.
Outgoing client events must have the correct
srcElement
andcurrentTarget
properties set to theWebSocketOverride
instance.Current behavior
Expected behavior