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
We can't really test what happens once we pass the arguments to console.log, but at least we could write tests testing the arguments that would get passed to console.log. That way we can test the debug options and make sure the formatters work, etc.
The text was updated successfully, but these errors were encountered:
For testing in Node.js environment, you could use child_process.spawn and run a test file and logs and test the stdout from that. I was going to to that with depd, but then I couldn't get coverage information from the spawned file.
We can't really test what happens once we pass the arguments to
console.log
, but at least we could write tests testing the arguments that would get passed to console.log. That way we can test the debug options and make sure the formatters work, etc.The text was updated successfully, but these errors were encountered: