I'm using mocha along with yeiwd and chai to test a javascript web application. I'd like to see console logs from within the application to help debug some tests.
When I run the tests from the comand line with npm test
I don't see any console.log() output, only mocha output.
Is there a way to view logs created from within the application code?
Update - here is my package.json
{
"devDependencies": {
"chai": "^2.3.0",
"chai-colors": "^1.0.0",
"yiewd": "^0.6.0"
},
"scripts": {
"test": "mocha --harmony --timeout 0 tests/*/*.js"
}
}