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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
'use strict';
describe.only('should run this suite', function () {
it('should run this test', function () {});
it('should run this test', function () {});
it('should run this test', function () {});
});
describe('should not run this suite', function () {
it('should not run this test', function () {
(true).should.equal(false);
});
it('should not run this test', function () {
(true).should.equal(false);
});
it('should not run this test', function () {
(true).should.equal(false);
});
});
describe.only('should run this suite too', function () {
describe('should run this nested suite', function () {
it('should run this test', function () {});
it('should run this test', function () {});
it('should run this test', function () {});
});
});
describe.only('should run this suite, even', function () {
describe('should run this nested suite, even', function () {
describe('should run this doubly-nested suite!', function () {
it('should run this test', function () {});
it('should run this test', function () {});
it('should run this test', function () {});
});
});
});
describe('should run this suite with an exclusive test', function () {
it.only('should run this test', function () {});
describe('should not run this nested suite', function () {
describe.only('should not run this doubly-nested suite', function () {
it('should not run this test', function () {});
it('should not run this test', function () {});
it('should not run this test', function () {});
});
});
});
describe('should run this suite with an exclusive test (reverse order)', function () {
describe('should not run this nested suite', function () {
describe.only('should not run this doubly-nested suite', function () {
it('should not run this test', function () {});
it('should not run this test', function () {});
it('should not run this test', function () {});
});
});
it.only('should run this test', function () {});
});
|