diff options
Diffstat (limited to 'tests/lib/mocha-3.1.2/test/integration/fixtures/hooks/after-hook-async-error.fixture.js')
-rw-r--r-- | tests/lib/mocha-3.1.2/test/integration/fixtures/hooks/after-hook-async-error.fixture.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/lib/mocha-3.1.2/test/integration/fixtures/hooks/after-hook-async-error.fixture.js b/tests/lib/mocha-3.1.2/test/integration/fixtures/hooks/after-hook-async-error.fixture.js deleted file mode 100644 index f3dfe7e1ae..0000000000 --- a/tests/lib/mocha-3.1.2/test/integration/fixtures/hooks/after-hook-async-error.fixture.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -describe('spec 1', function () { - after(function (done) { - console.log('after'); - process.nextTick(function () { - throw new Error('after hook error'); - }); - }); - it('should be called because error is in after hook', function () { - console.log('test 1'); - }); - it('should be called because error is in after hook', function () { - console.log('test 2'); - }); -}); -describe('spec 2', function () { - it('should be called, because hook error was in a sibling suite', function () { - console.log('test 3'); - }); -}); |