Debian Codegraph @

test/integration/fixtures/pending/skip-async-before-nested.fixture.js

raw symbols SCIP
1 describe('skip in before with nested describes', function () {
2 before(function (done) {
3 var self = this;
4 setTimeout(function () {
5 self.skip(); // done() is not required
6 }, 0);
7 });
8
9 it('should never run this test', function () {
10 throw new Error('never run this test');
11 });
12
13 describe('nested describe', function () {
14 before(function () {
15 throw new Error('first level before should not run');
16 });
17
18 it('should never run this test', function () {
19 throw new Error('never run this test');
20 });
21
22 after(function () {
23 throw new Error('first level after should not run');
24 });
25
26 describe('nested again', function () {
27 before(function () {
28 throw new Error('second level before should not run');
29 });
30
31 it('should never run this test', function () {
32 throw new Error('never run this test');
33 });
34
35 after(function () {
36 throw new Error('second level after should not run');
37 });
38 });
39 });
40 });