I am using the javascript test-runner \"Mocha\".
I have a test that is failing, so I would to debug it using console.log.
console.log
But when the tests are
If you are testing asynchronous code, you need to make sure to place done() in the callback of that asynchronous code. I had that issue when testing http requests to a REST API.
done()