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

skip-async-before.fixture.js « pending « 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: efeaa93899f56e02425e73f725a64e99b9330722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
'use strict';

describe('skip in before', function () {
  before(function (done) {
    var self = this;
    setTimeout(function () {
      self.skip();
    }, 50);
  });

  it('should never run this test', function () {
    throw new Error('never thrown');
  });

  it('should never run this test', function () {
    throw new Error('never thrown');
  });
});