test/integration/fixtures/uncaught/pending.fixture.js
raw| 1 | 'use strict'; |
| 2 | |
| 3 | describe('Uncaught exception within pending test', () => { |
| 4 | it('test1', function () { }); |
| 5 | |
| 6 | it('test2', function () { |
| 7 | process.nextTick(function () { |
| 8 | throw new Error('I am uncaught!'); |
| 9 | }); |
| 10 | this.skip(); |
| 11 | }); |
| 12 | |
| 13 | it('test3 - should run', function () { }); |
| 14 | it('test4 - should run', function () { }); |
| 15 | }); |