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

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

// The suite below should result in an additional error, but does
// not. Uncomment once this bug is resolved.

// describe('suite', function() {
//   beforeEach(function(done) {
//     done();
//     done();
//   });

//   it('test', function() {});
// });

it('should fail in a test-case', function (done) {
  process.nextTick(function () {
    done();
    done();
  });
});