forked from jestjs/jest
/
testFailingJasmine.test.ts.snap
178 lines (132 loc) · 5.79 KB
/
testFailingJasmine.test.ts.snap
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`throws an error about unsupported modifier 1`] = `
"FAIL __tests__/statuses.test.js
● Test suite failed to run
Jest: \`failing\` tests are only supported in \`jest-circus\`.
20 | it.todo('todo');
21 |
> 22 | it.failing('failing fails = passes', () => {
| ^
23 | expect(10).toBe(101);
24 | });
25 |
at Object.failing (__tests__/statuses.test.js:22:4)
FAIL __tests__/worksWithConcurrentMode.test.js
● block with concurrent › failing test
expect(received).toBe(expected) // Object.is equality
Expected: 101
Received: 10
8 | describe('block with concurrent', () => {
9 | it('failing test', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
13 | it.concurrent.failing('failing passes = fails', () => {
at Object.toBe (__tests__/worksWithConcurrentMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: \`failing\` tests are only supported in \`jest-circus\`.
11 | });
12 |
> 13 | it.concurrent.failing('failing passes = fails', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
at Function.failing (../../packages/jest-jasmine2/build/jasmineAsyncInstall.js:164:11)
at Suite.failing (__tests__/worksWithConcurrentMode.test.js:13:17)
at Object.describe (__tests__/worksWithConcurrentMode.test.js:8:1)
FAIL __tests__/worksWithConcurrentOnlyMode.test.js
● block with concurrent › skipped failing test
expect(received).toBe(expected) // Object.is equality
Expected: 101
Received: 10
8 | describe('block with concurrent', () => {
9 | it('skipped failing test', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
13 | it.concurrent.only.failing('failing passes = fails', () => {
at Object.toBe (__tests__/worksWithConcurrentOnlyMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: \`failing\` tests are only supported in \`jest-circus\`.
11 | });
12 |
> 13 | it.concurrent.only.failing('failing passes = fails', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
at Function.failing (../../packages/jest-jasmine2/build/jasmineAsyncInstall.js:164:11)
at Suite.failing (__tests__/worksWithConcurrentOnlyMode.test.js:13:22)
at Object.describe (__tests__/worksWithConcurrentOnlyMode.test.js:8:1)
FAIL __tests__/worksWithOnlyMode.test.js
● block with only, should pass › encountered a declaration exception
Jest: \`failing\` tests are only supported in \`jest-circus\`.
9 |
10 | describe('block with only, should pass', () => {
> 11 | it.only.failing('failing fails = passes, should pass', () => {
| ^
12 | expect(10).toBe(101);
13 | });
14 |
at Suite.failing (__tests__/worksWithOnlyMode.test.js:11:11)
at Object.describe (__tests__/worksWithOnlyMode.test.js:10:1)
● block with only, should fail › encountered a declaration exception
Jest: \`failing\` tests are only supported in \`jest-circus\`.
31 |
32 | describe('block with only, should fail', () => {
> 33 | it.only.failing('failing passes = fails, should fail', () => {
| ^
34 | expect(10).toBe(10);
35 | });
36 |
at Suite.failing (__tests__/worksWithOnlyMode.test.js:33:11)
at Object.describe (__tests__/worksWithOnlyMode.test.js:32:1)
● block with only in other it, should skip › encountered a declaration exception
Jest: \`failing\` tests are only supported in \`jest-circus\`.
45 |
46 | describe('block with only in other it, should skip', () => {
> 47 | it.failing('failing passes = fails, should fail but skipped', () => {
| ^
48 | expect(10).toBe(10);
49 | });
50 |
at Suite.failing (__tests__/worksWithOnlyMode.test.js:47:6)
at Object.describe (__tests__/worksWithOnlyMode.test.js:46:1)
● block with only with different syntax, should fail › encountered a declaration exception
Jest: \`failing\` tests are only supported in \`jest-circus\`.
59 |
60 | describe('block with only with different syntax, should fail', () => {
> 61 | fit.failing('failing passes = fails, should fail 1', () => {
| ^
62 | expect(10).toBe(10);
63 | });
64 |
at Suite.failing (__tests__/worksWithOnlyMode.test.js:61:7)
at Object.describe (__tests__/worksWithOnlyMode.test.js:60:1)
FAIL __tests__/worksWithSkipMode.test.js
● block with only, should pass › encountered a declaration exception
Jest: \`failing\` tests are only supported in \`jest-circus\`.
7 |
8 | describe('block with only, should pass', () => {
> 9 | it.skip.failing('skipped failing fails = passes, should pass', () => {
| ^
10 | expect(10).toBe(101);
11 | });
12 |
at Suite.failing (__tests__/worksWithSkipMode.test.js:9:11)
at Object.describe (__tests__/worksWithSkipMode.test.js:8:1)
● block with only, should fail › encountered a declaration exception
Jest: \`failing\` tests are only supported in \`jest-circus\`.
33 |
34 | describe('block with only, should fail', () => {
> 35 | it.skip.failing('failing passes = fails, should fail', () => {
| ^
36 | expect(10).toBe(10);
37 | });
38 |
at Suite.failing (__tests__/worksWithSkipMode.test.js:35:11)
at Object.describe (__tests__/worksWithSkipMode.test.js:34:1)"
`;