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

delay.fixture.js « options « 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: b2d49217db75220f320301b8e18b827cc4aa1153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict';

var assert = require('assert');
var delay = 500;

setTimeout(function () {
  describe('delayed execution', function () {
    it('should have no effect if attempted twice in the same suite', function () {
      assert(true);
      run();
      assert(true);
    });
  });

  run();
}, delay);