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

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