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

early-pass.fixture.js « retries « 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: 0010d120faa378ba9fde68601ea7b0b3a22dab5a (plain)
1
2
3
4
5
6
7
8
9
10
11
describe('retries', function() {
  this.retries(1);
  var times = 0;

  it('should pass after 1 retry', function() {
    times++;
    if (times !== 2) {
      throw new Error('retry error ' + times);
    }
  });
});