'use strict'; describe('spec 1', function () { it('should pass', function () { }); describe('spec 2 nested - this title should be used', function () { before(function() { throw new Error('before hook nested error'); }); describe('spec 3 nested', function () { it('it nested - this title should not be used', function () { }); }); }); });