Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/beforeEach-hook-async-error.fixture.js')
-rw-r--r--tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/beforeEach-hook-async-error.fixture.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/beforeEach-hook-async-error.fixture.js b/tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/beforeEach-hook-async-error.fixture.js
deleted file mode 100644
index a34ed755e2..0000000000
--- a/tests/lib/mocha-3.1.0/test/integration/fixtures/hooks/beforeEach-hook-async-error.fixture.js
+++ /dev/null
@@ -1,19 +0,0 @@
-describe('spec 1', function () {
- beforeEach(function (done) {
- console.log('before');
- process.nextTick(function () {
- throw new Error('before each hook error');
- });
- });
- it('should not be called because of error in before each hook', function () {
- console.log('test 1');
- });
- it('should not be called because of error in before each hook', function () {
- console.log('test 2');
- });
-});
-describe('spec 2', function () {
- it('should be called, because hook error was in a sibling suite', function () {
- console.log('test 3');
- });
-});