nodeunit icon indicating copy to clipboard operation
nodeunit copied to clipboard

#244 catch async exceptions and log their stacks

Open yunong opened this issue 11 years ago • 1 comments

This fixes the the problem where asynchronously thrown exceptions within tests are not caught or logged. This problem is actually specific to node v0.10

Credit for the fix goes to @tjfontaine

yunong avatar Jan 29 '14 19:01 yunong

I think the right approach on node 0.10.x would be to wrap each test in a domain

caolan avatar Feb 01 '14 17:02 caolan