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

cascade.fixture.js « 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: 10b1c37ffde54dd793884d49c443ebd5cb4008b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
describe('one', function() {
  before(function() {
    console.log('before one');
  });

  after(function() {
    console.log('after one');
  });

  beforeEach(function() {
    console.log('  before each one');
  });

  afterEach(function() {
    console.log('  after each one');
  });

  describe('two', function() {
    before(function() {
      console.log('  before two');
    });

    after(function() {
      console.log('  after two');
    });

    beforeEach(function() {
      console.log('    before each two');
    });

    afterEach(function() {
      console.log('    after each two');
    });

    describe('three', function() {
      before(function() {
        console.log('    before three');
      });

      after(function() {
        console.log('    after three');
      });

      beforeEach(function() {
        console.log('    before each three');
      });

      afterEach(function() {
        console.log('    after each three');
      });

      it('should three', function() {
        console.log('      TEST three');
      });
    });
  });
});