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
{{ message }}
Repository navigation
logs during test runs / jasmine-node compatability #217
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")
Activity
[-]getting logs during test runs?[/-][+]logs during test runs / jasmine-node compatability[/+]thebigredgeek commentedon Dec 14, 2016
Not sure why you'd want to do this. Closing for now