Skip to content

Commit

Permalink
Fix code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Aug 5, 2024
1 parent 09ed614 commit 3c82678
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ws-connection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export class WsConnection {
} else if (typeof WebSocket !== 'undefined') {
this.Class = WebSocket
} else {
/* c8 ignore next 2 */
throw new Error('No WebSocket support')
}
this.url = url
Expand Down

0 comments on commit 3c82678

Please sign in to comment.