Skip to content

Instantly share code, notes, and snippets.

@grampelberg
Created May 23, 2013 16:56
Show Gist options
  • Save grampelberg/5637589 to your computer and use it in GitHub Desktop.
Save grampelberg/5637589 to your computer and use it in GitHub Desktop.
var tester = mocha.run();
tester.on("fail", function(test, err) {
setTimeout(function() { throw err}, 1);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment