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
nodeunit should catch exceptions and report them as failures #155
+1
It happens only if the exception is thrown from an asynchronous callback.
If the exception is thrown from a synchronous test flow the exception is caught and the test continues normally.
Activity
nickminutello commentedon Jun 25, 2012
+1
christophsturm commentedon Jun 25, 2012
btw we just switched to mocha, for this and other reasons.
gilad61 commentedon Aug 1, 2012
+1
It happens only if the exception is thrown from an asynchronous callback.
If the exception is thrown from a synchronous test flow the exception is caught and the test continues normally.
gilad61 commentedon Aug 1, 2012
See suggested fix in #177 (#177)
jorgebay commentedon Jul 19, 2013
👍
alexsolus commentedon Jul 6, 2016
Dealbreaker for me - uncaught exceptions are gonna be everywhere, tests need to be able to catch them.