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

early-pass.fixture.js « retries « 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: ddad40399e0ff56e4e26251420232bd884944ed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

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);
    }
  });
});