(data)
| 145 | } |
| 146 | |
| 147 | const send: WebSocket['send'] = (data) => { |
| 148 | internal.closeIfExpired() // should check before to ensure nothing send after expired |
| 149 | return original.send(data) |
| 150 | } |
| 151 | |
| 152 | const proxy = new Proxy(original, { |
| 153 | get(_, prop) { |
no test coverage detected