test/integration/fixtures/hooks/after-hook-deepnested-error.fixture.js
raw| 1 | 'use strict'; |
| 2 | |
| 3 | describe('spec 1', function () { |
| 4 | it('should pass', function () { }); |
| 5 | describe('spec 2 nested - this title should be used', function () { |
| 6 | after(function() { |
| 7 | throw new Error('after hook nested error'); |
| 8 | }); |
| 9 | describe('spec 3 nested', function () { |
| 10 | it('it nested - this title should not be used', function () { }); |
| 11 | }); |
| 12 | }); |
| 13 | }); |