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/uncaught.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/uncaught.fixture.js')
-rw-r--r-- | tests/lib/mocha-3.1.0/test/integration/fixtures/uncaught.fixture.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/lib/mocha-3.1.0/test/integration/fixtures/uncaught.fixture.js b/tests/lib/mocha-3.1.0/test/integration/fixtures/uncaught.fixture.js deleted file mode 100644 index 054d1d857b..0000000000 --- a/tests/lib/mocha-3.1.0/test/integration/fixtures/uncaught.fixture.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -/** - * This file should only generate one failure per spec despite the fact that - * Mocha is capable of detecting two distinct exceptions during test execution. - */ - -it('fails exactly once when a global error is thrown first', function(done) { - setTimeout(function() { - throw new Error('global error'); - - setTimeout(function() { - done(new Error('test error')); - }, 0); - }, 0); -}); - -it('fails exactly once when a global error is thrown second', function(done) { - setTimeout(function() { - done(new Error('test error')); - }, 0); - - setTimeout(function() { - throw new Error('global error'); - }, 0); -}); |