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