diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-04-26 09:52:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 09:52:46 +0300 |
commit | 317700513cc732bb2371edbe645555feadbbc545 (patch) | |
tree | efc28c578903563cd72d8436dbefcec32ab161c7 /tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/multiple-hook-async-error.fixture.js | |
parent | bc8222d451337185db343486319af6782b009148 (diff) | |
parent | 199e43ef5809d09803416db72ce0ace6c9a4d895 (diff) |
Merge pull request #11651 from piwik/3.x-dev3.0.4-b1
Release Piwik 3.0.4-b1
Diffstat (limited to 'tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/multiple-hook-async-error.fixture.js')
-rw-r--r-- | tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/multiple-hook-async-error.fixture.js | 139 |
1 files changed, 0 insertions, 139 deletions
diff --git a/tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/multiple-hook-async-error.fixture.js b/tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/multiple-hook-async-error.fixture.js deleted file mode 100644 index 93ace7ff0d..0000000000 --- a/tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/multiple-hook-async-error.fixture.js +++ /dev/null @@ -1,139 +0,0 @@ -before(function () { - console.log('root before'); -}); -beforeEach(function () { - console.log('root before each'); -}); -describe('1', function () { - beforeEach(function () { - console.log('1 before each'); - }); - - describe('1-1', function () { - before(function () { - console.log('1-1 before'); - }); - beforeEach(function (done) { - console.log('1-1 before each'); - process.nextTick(function () { - throw new Error('1-1 before each hook failed'); - }); - }); - it('1-1 test 1', function () { - console.log('1-1 test 1'); - }); - it('1-1 test 2', function () { - console.log('1-1 test 2'); - }); - afterEach(function () { - console.log('1-1 after each'); - }); - after(function (done) { - console.log('1-1 after'); - process.nextTick(function () { - throw new Error('1-1 after hook failed'); - }); - }); - }); - - describe('1-2', function () { - before(function () { - console.log('1-2 before'); - }); - beforeEach(function () { - console.log('1-2 before each'); - }); - it('1-2 test 1', function () { - console.log('1-2 test 1'); - }); - it('1-2 test 2', function () { - console.log('1-2 test 2'); - }); - afterEach(function (done) { - console.log('1-2 after each'); - process.nextTick(function () { - throw new Error('1-2 after each hook failed'); - }); - }); - after(function () { - console.log('1-2 after'); - }); - }); - - afterEach(function () { - console.log('1 after each'); - }); - - after(function () { - console.log('1 after'); - }); -}); - -describe('2', function () { - beforeEach(function (done) { - console.log('2 before each'); - process.nextTick(function () { - throw new Error('2 before each hook failed'); - }); - }); - - describe('2-1', function () { - before(function () { - console.log('2-1 before'); - }); - beforeEach(function () { - console.log('2-1 before each'); - }); - it('2-1 test 1', function () { - console.log('2-1 test 1'); - }); - it('2-1 test 2', function () { - console.log('2-1 test 2'); - }); - afterEach(function () { - console.log('2-1 after each'); - }); - after(function () { - console.log('2-1 after'); - }); - }); - - describe('2-2', function () { - before(function () { - console.log('2-2 before'); - }); - beforeEach(function () { - console.log('2-2 before each'); - }); - it('2-2 test 1', function () { - console.log('2-2 test 1'); - }); - it('2-2 test 2', function () { - console.log('2-2 test 2'); - }); - afterEach(function () { - console.log('2-2 after each'); - }); - after(function () { - console.log('2-2 after'); - }); - }); - - afterEach(function (done) { - console.log('2 after each'); - process.nextTick(function () { - throw new Error('2 after each hook failed'); - }); - }); - - after(function () { - console.log('2 after'); - }); -}); - -after(function () { - console.log('root after'); -}); -afterEach(function () { - console.log('root after each'); -}); |