nodeunit
nodeunit copied to clipboard
Fix error when hiding stack trace
Fixes error when stack trace is hidden with Error.stackTraceLimit = 0
Potentially provides a fix to #64
The error message:
nodeunit/lib/utils.js:212
e.stack.split('\n').slice(1).join('\n')
^
TypeError: Cannot call method 'split' of undefined