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

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