(log = false)
| 17 | }); |
| 18 | |
| 19 | const stopWsApiConnections = function (log = false) { |
| 20 | const connections = (binance as any).wsApiConnections; |
| 21 | for (let connectionId in connections) { |
| 22 | if (log) console.log('Terminated WebSocket API connection: ' + connectionId); |
| 23 | (binance as any).terminateWsApi(connectionId); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | describe('WebSocket API Infrastructure', function () { |
| 28 |
no test coverage detected