describe('skip in before with nested describes', function () { before(function (done) { var self = this; setTimeout(function () { self.skip(); // done() is not required }, 0); }); it('should never run this test', function () { throw new Error('never run this test'); }); describe('nested describe', function () { before(function () { throw new Error('first level before should not run'); }); it('should never run this test', function () { throw new Error('never run this test'); }); after(function () { throw new Error('first level after should not run'); }); describe('nested again', function () { before(function () { throw new Error('second level before should not run'); }); it('should never run this test', function () { throw new Error('never run this test'); }); after(function () { throw new Error('second level after should not run'); }); }); }); });