diff options
Diffstat (limited to 'tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/afterEach-hook-error.fixture.js')
-rw-r--r-- | tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/afterEach-hook-error.fixture.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/afterEach-hook-error.fixture.js b/tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/afterEach-hook-error.fixture.js deleted file mode 100644 index 9d28632fa3..0000000000 --- a/tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/afterEach-hook-error.fixture.js +++ /dev/null @@ -1,17 +0,0 @@ -describe('spec 1', function () { - afterEach(function () { - console.log('after'); - throw new Error('after each hook error'); - }); - it('should be called because error is in after each hook', function () { - console.log('test 1'); - }); - it('should not be called', 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'); - }); -}); |