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

uncaught-hook.fixture.js « fixtures « integration « test « mocha-3.1.0 « lib « tests - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9adcb3f726996dfcaa6038db3c4077834c678efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
describe('uncaught', function() {
  beforeEach(function(done) {
    process.nextTick(function() {
      throw new Error('oh noes');
      done();
    });
  });

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