diff options
Diffstat (limited to 'tests/lib/mocha-3.1.2/test/integration/fixtures/pending/skip-sync-spec.fixture.js')
-rw-r--r-- | tests/lib/mocha-3.1.2/test/integration/fixtures/pending/skip-sync-spec.fixture.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/lib/mocha-3.1.2/test/integration/fixtures/pending/skip-sync-spec.fixture.js b/tests/lib/mocha-3.1.2/test/integration/fixtures/pending/skip-sync-spec.fixture.js new file mode 100644 index 0000000000..1d22f0b77d --- /dev/null +++ b/tests/lib/mocha-3.1.2/test/integration/fixtures/pending/skip-sync-spec.fixture.js @@ -0,0 +1,12 @@ +'use strict'; + +describe('skip in test', function () { + it('should skip immediately', function () { + this.skip(); + throw new Error('never thrown'); + }); + + it('should run other tests in the suite', function () { + // Do nothing + }); +}); |