diff --git a/lib/websocket.js b/lib/websocket.js index c21a4ad68..cb8077de5 100644 --- a/lib/websocket.js +++ b/lib/websocket.js @@ -125,9 +125,6 @@ class WebSocket extends EventEmitter { return undefined; } - /* istanbul ignore next */ - set onclose(listener) {} - /** * @type {Function} */ @@ -136,9 +133,6 @@ class WebSocket extends EventEmitter { return undefined; } - /* istanbul ignore next */ - set onerror(listener) {} - /** * @type {Function} */ @@ -147,9 +141,6 @@ class WebSocket extends EventEmitter { return undefined; } - /* istanbul ignore next */ - set onopen(listener) {} - /** * @type {Function} */ @@ -158,9 +149,6 @@ class WebSocket extends EventEmitter { return undefined; } - /* istanbul ignore next */ - set onmessage(listener) {} - /** * @type {String} */