require('@fatso83/mini-mocha').install(true); describe("issue #101 ES5 version", function() { it("shows a normal sync test", function() { // passes }); it("will fail", function() { throw new Error("My error"); }); it("shows a normal async test using callbacks", function(done) { setTimeout(() => { done(); }); }); it("will fail async", function(done) { setTimeout(() => { done(new Error("My error")); }); }); });