News for hackers. Stuff that matters.
Re:Avoid JS callback hell with 'yield' (example of a new Web... by jlipps on Thursday July 25, 2013 @07:26PM (#6105617)
You could wrap the whole thing in a try-catch and catch the first error to occur.

In my experience, running this with Mocha, errors are handled automatically by it()

There are no comments on this comment yet.