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

uncaught-hook.fixture.js « 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: 54f30c56e9b37f7fc7eac7985e4ce6e0b90e3889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict';

describe('uncaught', function () {
  beforeEach(function (done) {
    process.nextTick(function () {
      throw new Error('oh noes');
    });
  });

  it('test', function (done) {
    process.nextTick(function () {
      throw new Error("I'm uncaught!");
    });
  });
});