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

before-hook-async-error-tip.fixture.js « hooks « fixtures « integration « test « mocha-3.1.2 « lib « tests - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 04801c1946fe302c224275fe4bf0cf5baae31e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

describe('spec 1', function () {
  it('should not blame me', function () { });
});
describe('spec 2', function () {
  before(function (done) {
    process.nextTick(function () {
      throw new Error('before hook error');
    });
  });
  it('skipped');
});