Skip to content

Commit

Permalink
[minor] Remove unneeded setters
Browse files Browse the repository at this point in the history
Refs: ecb9d9ea
  • Loading branch information
lpinca committed Jul 15, 2021
1 parent 64b3c71 commit 77a675c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ class WebSocket extends EventEmitter {
return undefined;
}

/* istanbul ignore next */
set onclose(listener) {}

/**
* @type {Function}
*/
Expand All @@ -136,9 +133,6 @@ class WebSocket extends EventEmitter {
return undefined;
}

/* istanbul ignore next */
set onerror(listener) {}

/**
* @type {Function}
*/
Expand All @@ -147,9 +141,6 @@ class WebSocket extends EventEmitter {
return undefined;
}

/* istanbul ignore next */
set onopen(listener) {}

/**
* @type {Function}
*/
Expand All @@ -158,9 +149,6 @@ class WebSocket extends EventEmitter {
return undefined;
}

/* istanbul ignore next */
set onmessage(listener) {}

/**
* @type {String}
*/
Expand Down

0 comments on commit 77a675c

Please sign in to comment.