wolf
wolf copied to clipboard
Mocha timeout
I was getting errors in the mocha test, so after some digging I found out that It was jus a timeout issue,
So I set the timeout globally in package.json like this:
"scripts": {
"test": "mocha --timeout 10000 --recursive --exit",
"start": "npm test && node ."
},
And removed some specific timeouts in test/ticker.js and test/symbol.js
So that seems to work for me, but I don't know if this is change that we want in the code.....
Hi @pitxels,
The binance websocket takes longer sometimes to initialize. Something like this is necessary. Let's keep this issue open and see if anyone else has advice/input. If you wanted to make this a pull request for better visibility i would love to have it considered to be merged in v3.5.0!
I dont know if this would help or if it has anything to do with it, but you can download NetTime 3.14. It syncs your time clock.