Closed snollygolly closed 9 years ago
I tried running mocha with --timeout 5000
but it just took longer to fail
If you're hitting a timeout, 9/10 times it's because the test is failing for reasons you're not checking against.
I've removed all the .to.be.a('type')
tests and it passes successfully. I've also console logged the type of variables I'm trapping, and they match, but the test still fails.
Can you throw up a gist/put the code in the issue?
It seems like expect().to.be.a() isn't throwing the correct error. It's most likely an issue with Chai not playing well with co-mocha. Meeeh.
However, this is fixed.
How to make timeout less?