(websocket)
| 334 | } |
| 335 | |
| 336 | export function isWebsocketOpen(websocket) { |
| 337 | return !isNull(websocket) && (websocket.readyState === 1); |
| 338 | } |
| 339 | |
| 340 | export function getUnparameterizedUrl() { |
| 341 | return [location.protocol, '//', location.host, location.pathname].join(''); |
no test coverage detected