Current native Websocket implementation returns `wasClean: false` and `code: 1006` when wrong url is provided. https://github.com/thoov/mock-socket/blob/eab4bf59ab83298ee42a21fc535a369432fe22c6/src/websocket.js#L94
Current native Websocket implementation returns
wasClean: falseandcode: 1006when wrong url is provided.mock-socket/src/websocket.js
Line 94 in eab4bf5