diff options
Diffstat (limited to 'tests/lib/mocha-3.1.2/test/integration/fixtures/cascade.fixture.js')
-rw-r--r-- | tests/lib/mocha-3.1.2/test/integration/fixtures/cascade.fixture.js | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/tests/lib/mocha-3.1.2/test/integration/fixtures/cascade.fixture.js b/tests/lib/mocha-3.1.2/test/integration/fixtures/cascade.fixture.js new file mode 100644 index 0000000000..259c81af2d --- /dev/null +++ b/tests/lib/mocha-3.1.2/test/integration/fixtures/cascade.fixture.js @@ -0,0 +1,59 @@ +'use strict'; + +describe('one', function () { + before(function () { + console.log('before one'); + }); + + after(function () { + console.log('after one'); + }); + + beforeEach(function () { + console.log(' before each one'); + }); + + afterEach(function () { + console.log(' after each one'); + }); + + describe('two', function () { + before(function () { + console.log(' before two'); + }); + + after(function () { + console.log(' after two'); + }); + + beforeEach(function () { + console.log(' before each two'); + }); + + afterEach(function () { + console.log(' after each two'); + }); + + describe('three', function () { + before(function () { + console.log(' before three'); + }); + + after(function () { + console.log(' after three'); + }); + + beforeEach(function () { + console.log(' before each three'); + }); + + afterEach(function () { + console.log(' after each three'); + }); + + it('should three', function () { + console.log(' TEST three'); + }); + }); + }); +}); |