mocha-allure-reporter
Version:
Mocha reporter for Allure framework
17 lines (12 loc) • 359 B
JavaScript
describe("Before all tests", function() {
describe("broken before", function() {
before(function() {
throw new Error("you broke the before hook");
});
it("a test", function() {});
});
describe("before not broken", function() {
before(function() {});
it("a test", function() {});
});
});