test/integration/fixtures/uncaught/issue-1327.fixture.js
raw| 1 | 'use strict'; |
| 2 | |
| 3 | // we cannot recover gracefully if a Runnable has already passed |
| 4 | // then fails asynchronously |
| 5 | it('test 1', function () { |
| 6 | process.nextTick(function () { |
| 7 | throw new Error('Too bad'); |
| 8 | }); |
| 9 | }); |
| 10 | |
| 11 | it('test 2', function () { |
| 12 | throw new Error('should not run - test 2'); |
| 13 | }); |
| 14 | |
| 15 | it('test 3', function () { |
| 16 | throw new Error('should not run - test 3'); |
| 17 | }); |