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

multiple-done-beforeEach.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: 32de2bf4423d699b581f0d8d0c5dfc2c08947e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict';

describe('suite', function () {
  beforeEach(function (done) {
    setTimeout(done, 10);
    setTimeout(done, 20);
  });

  it('test1', function (done) {
    setTimeout(done, 50);
  });

  it('test2', function (done) {
    setTimeout(done, 50);
  });
});