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

multiple-done-beforeEach.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: 9b4724dea148ad7e19ef222f1ce3ef81cab6d254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
  });
});