I'm using node.js and the jasmine-node npm module to run tests. This works perfectly except if the code produces an error. I get no stacktrace. For example, one of my tests only outputs this:
Error: TypeError: Cannot read property 'length' of undefined
No stack trace. This makes finding these errors so time-consuming that I'm looking for alternatives to jasmine-node.
How can I get jasmine-node to output the full stack trace with the error? The --verbose command-line flag doesn't do it.
You can use jasmine-node's --captureExceptions
option to output the stack trace of global exceptions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With