test/integration/fixtures/options/allow-uncaught/this-skip-it.fixture.js
raw| 1 | 'use strict'; |
| 2 | |
| 3 | describe('test suite', () => { |
| 4 | it('test1', function () { }); |
| 5 | it('test2', function (done) { |
| 6 | var self = this; |
| 7 | setTimeout(function () { |
| 8 | self.skip(); |
| 9 | throw new Error("should not throw"); |
| 10 | }, 10); |
| 11 | }); |
| 12 | it('test3', function () { |
| 13 | this.skip(); |
| 14 | throw new Error("should not throw"); |
| 15 | }); |
| 16 | it('test4', function () { }); |
| 17 | it('test5', function () { |
| 18 | this.skip(); |
| 19 | throw new Error("should not throw"); |
| 20 | }); |
| 21 | }); |