You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm using jasmine-node and trying to use logs to debug some of my tests, however they don't seem to be output anywhere...
since jasmine-node is not a normal node app, is there some config that is not being set?
I also tried sending errors/output to stderr and using 3> to try and capture it but without luck.
I added this to the top of a test suite and
var debug = require("debug")
var error = debug('mbot:error');
var log = debug('mbot:log');
// set this namespace to log via console.log
log.log = console.log.bind(console); // don't forget to bind to console!
log('goes to stdout');
error("ERROR")
i'm using jasmine-node and trying to use logs to debug some of my tests, however they don't seem to be output anywhere...
since jasmine-node is not a normal node app, is there some config that is not being set?
I also tried sending errors/output to stderr and using
3>
to try and capture it but without luck.I added this to the top of a test suite and
and running it with:
without anything showing up either during test runs or in test.log
any other methods to get this working? dont wanna have to go back to console.log!
The text was updated successfully, but these errors were encountered: