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

skip-async-beforeEach.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: b8db22b94aebc4bfdb209102e6fa5863fd196c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
describe('skip in beforeEach', function() {
  beforeEach(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');
  });
});