( log = false )
| 27 | }); |
| 28 | |
| 29 | const stopSockets = function ( log = false ) { |
| 30 | let endpoints = binance.websockets.subscriptions(); |
| 31 | for ( let endpoint in endpoints ) { |
| 32 | if ( log ) console.log( 'Terminated ws endpoint: ' + endpoint ); |
| 33 | binance.websockets.terminate( endpoint ); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | describe( 'Websockets candlesticks', function () { |
| 38 | let candlesticks; |
no test coverage detected