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

multiple-done.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: 63a704061cf1328e8a8f2fca49955d3f45545af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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();
  });
});