@@ -38,49 +38,43 @@ exports[`works with all statuses 1`] = `
3838
3939 Failing test passed even though it was supposed to fail . Remove \` .failing\` to remove error.
4040
41+ 28 | });
42+ 29 |
43+ > 30 | test.failing.each([
44+ | ^
45+ 31 | { a : 1 , b : 1 , expected : 2 } ,
4146 32 | { a : 1 , b : 2 , expected : 3 } ,
4247 33 | { a : 2 , b : 1 , expected : 3 } ,
43- > 34 | ])('.add($a, $b)', ({ a , b , expected } ) => {
44- | ^
45- 35 | expect (a + b ).toBe (expected );
46- 36 | } );
47- 37 |
4848
49- at ../../packages/jest-each/build/bind.js:38:11
50- at Array.forEach (<anonymous >)
51- at Object.<anonymous > (__tests__/statuses.test.js:34:3)
49+ at Object.each (__tests__/statuses.test.js:30:14)
5250
5351 ● .add(1, 2)
5452
5553 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
5654
55+ 28 | });
56+ 29 |
57+ > 30 | test.failing.each([
58+ | ^
59+ 31 | { a : 1 , b : 1 , expected : 2 } ,
5760 32 | { a : 1 , b : 2 , expected : 3 } ,
5861 33 | { a : 2 , b : 1 , expected : 3 } ,
59- > 34 | ])('.add($a, $b)', ({ a , b , expected } ) => {
60- | ^
61- 35 | expect (a + b ).toBe (expected );
62- 36 | } );
63- 37 |
6462
65- at ../../packages/jest-each/build/bind.js:38:11
66- at Array.forEach (<anonymous >)
67- at Object.<anonymous > (__tests__/statuses.test.js:34:3)
63+ at Object.each (__tests__/statuses.test.js:30:14)
6864
6965 ● .add(2, 1)
7066
7167 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
7268
69+ 28 | });
70+ 29 |
71+ > 30 | test.failing.each([
72+ | ^
73+ 31 | { a : 1 , b : 1 , expected : 2 } ,
7374 32 | { a : 1 , b : 2 , expected : 3 } ,
7475 33 | { a : 2 , b : 1 , expected : 3 } ,
75- > 34 | ])('.add($a, $b)', ({ a , b , expected } ) => {
76- | ^
77- 35 | expect (a + b ).toBe (expected );
78- 36 | } );
79- 37 |
8076
81- at ../../packages/jest-each/build/bind.js:38:11
82- at Array.forEach (<anonymous >)
83- at Object.<anonymous > (__tests__/statuses.test.js:34:3)
77+ at Object.each (__tests__/statuses.test.js:30:14)
8478
8579 ● failing passes = fails
8680
@@ -127,51 +121,45 @@ exports[`works with concurrent and only mode 1`] = `
127121
128122 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
129123
124+ 15 | });
125+ 16 |
126+ > 17 | test.concurrent.only.failing.each([
127+ | ^
128+ 18 | { a : 1 , b : 1 , expected : 2 } ,
130129 19 | { a : 1 , b : 2 , expected : 3 } ,
131130 20 | { a : 2 , b : 1 , expected : 3 } ,
132- > 21 | ])('.add($a, $b)', ({ a , b , expected } ) => {
133- | ^
134- 22 | expect (a + b ).toBe (expected );
135- 23 | } );
136- 24 |
137131
138- at ../../packages/jest-each/build/bind.js:38:11
139- at Array.forEach (<anonymous >)
140- at __tests__/worksWithConcurrentOnlyMode.test.js:21:5
132+ at each (__tests__/worksWithConcurrentOnlyMode.test.js:17:32)
141133 at Object.describe (__tests__/worksWithConcurrentOnlyMode.test.js:8:1)
142134
143135 ● block with concurrent › .add(1, 2)
144136
145137 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
146138
139+ 15 | });
140+ 16 |
141+ > 17 | test.concurrent.only.failing.each([
142+ | ^
143+ 18 | { a : 1 , b : 1 , expected : 2 } ,
147144 19 | { a : 1 , b : 2 , expected : 3 } ,
148145 20 | { a : 2 , b : 1 , expected : 3 } ,
149- > 21 | ])('.add($a, $b)', ({ a , b , expected } ) => {
150- | ^
151- 22 | expect (a + b ).toBe (expected );
152- 23 | } );
153- 24 |
154146
155- at ../../packages/jest-each/build/bind.js:38:11
156- at Array.forEach (<anonymous >)
157- at __tests__/worksWithConcurrentOnlyMode.test.js:21:5
147+ at each (__tests__/worksWithConcurrentOnlyMode.test.js:17:32)
158148 at Object.describe (__tests__/worksWithConcurrentOnlyMode.test.js:8:1)
159149
160150 ● block with concurrent › .add(2, 1)
161151
162152 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
163153
154+ 15 | });
155+ 16 |
156+ > 17 | test.concurrent.only.failing.each([
157+ | ^
158+ 18 | { a : 1 , b : 1 , expected : 2 } ,
164159 19 | { a : 1 , b : 2 , expected : 3 } ,
165160 20 | { a : 2 , b : 1 , expected : 3 } ,
166- > 21 | ])('.add($a, $b)', ({ a , b , expected } ) => {
167- | ^
168- 22 | expect (a + b ).toBe (expected );
169- 23 | } );
170- 24 |
171161
172- at ../../packages/jest-each/build/bind.js:38:11
173- at Array.forEach (<anonymous >)
174- at __tests__/worksWithConcurrentOnlyMode.test.js:21:5
162+ at each (__tests__/worksWithConcurrentOnlyMode.test.js:17:32)
175163 at Object.describe (__tests__/worksWithConcurrentOnlyMode.test.js:8:1)"
176164` ;
177165
@@ -222,51 +210,45 @@ exports[`works with concurrent mode 1`] = `
222210
223211 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
224212
213+ 15 | });
214+ 16 |
215+ > 17 | test.concurrent.failing.each([
216+ | ^
217+ 18 | { a : 1 , b : 1 , expected : 2 } ,
225218 19 | { a : 1 , b : 2 , expected : 3 } ,
226219 20 | { a : 2 , b : 1 , expected : 3 } ,
227- > 21 | ])('.add($a, $b)', ({ a , b , expected } ) => {
228- | ^
229- 22 | expect (a + b ).toBe (expected );
230- 23 | } );
231- 24 |
232220
233- at ../../packages/jest-each/build/bind.js:38:11
234- at Array.forEach (<anonymous >)
235- at __tests__/worksWithConcurrentMode.test.js:21:5
221+ at each (__tests__/worksWithConcurrentMode.test.js:17:27)
236222 at Object.describe (__tests__/worksWithConcurrentMode.test.js:8:1)
237223
238224 ● block with concurrent › .add(1, 2)
239225
240226 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
241227
228+ 15 | });
229+ 16 |
230+ > 17 | test.concurrent.failing.each([
231+ | ^
232+ 18 | { a : 1 , b : 1 , expected : 2 } ,
242233 19 | { a : 1 , b : 2 , expected : 3 } ,
243234 20 | { a : 2 , b : 1 , expected : 3 } ,
244- > 21 | ])('.add($a, $b)', ({ a , b , expected } ) => {
245- | ^
246- 22 | expect (a + b ).toBe (expected );
247- 23 | } );
248- 24 |
249235
250- at ../../packages/jest-each/build/bind.js:38:11
251- at Array.forEach (<anonymous >)
252- at __tests__/worksWithConcurrentMode.test.js:21:5
236+ at each (__tests__/worksWithConcurrentMode.test.js:17:27)
253237 at Object.describe (__tests__/worksWithConcurrentMode.test.js:8:1)
254238
255239 ● block with concurrent › .add(2, 1)
256240
257241 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
258242
243+ 15 | });
244+ 16 |
245+ > 17 | test.concurrent.failing.each([
246+ | ^
247+ 18 | { a : 1 , b : 1 , expected : 2 } ,
259248 19 | { a : 1 , b : 2 , expected : 3 } ,
260249 20 | { a : 2 , b : 1 , expected : 3 } ,
261- > 21 | ])('.add($a, $b)', ({ a , b , expected } ) => {
262- | ^
263- 22 | expect (a + b ).toBe (expected );
264- 23 | } );
265- 24 |
266250
267- at ../../packages/jest-each/build/bind.js:38:11
268- at Array.forEach (<anonymous >)
269- at __tests__/worksWithConcurrentMode.test.js:21:5
251+ at each (__tests__/worksWithConcurrentMode.test.js:17:27)
270252 at Object.describe (__tests__/worksWithConcurrentMode.test.js:8:1)"
271253` ;
272254
@@ -297,51 +279,45 @@ exports[`works with only mode 1`] = `
297279
298280 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
299281
282+ 13 | });
283+ 14 |
284+ > 15 | it.only.failing.each([
285+ | ^
286+ 16 | { a : 1 , b : 1 , expected : 2 } ,
300287 17 | { a : 1 , b : 2 , expected : 3 } ,
301288 18 | { a : 2 , b : 1 , expected : 3 } ,
302- > 19 | ])('.add($a, $b)', ({ a , b , expected } ) => {
303- | ^
304- 20 | expect (a + b ).toBe (expected );
305- 21 | } );
306- 22 |
307-
308- at ../../packages/jest-each/build/bind.js:38:11
309- at Array.forEach (<anonymous >)
310- at __tests__/worksWithOnlyMode.test.js:19:5
289+
290+ at each (__tests__/worksWithOnlyMode.test.js:15:19)
311291 at Object.describe (__tests__/worksWithOnlyMode.test.js:10:1)
312292
313293 ● block with only, should pass › .add(1, 2)
314294
315295 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
316296
297+ 13 | });
298+ 14 |
299+ > 15 | it.only.failing.each([
300+ | ^
301+ 16 | { a : 1 , b : 1 , expected : 2 } ,
317302 17 | { a : 1 , b : 2 , expected : 3 } ,
318303 18 | { a : 2 , b : 1 , expected : 3 } ,
319- > 19 | ])('.add($a, $b)', ({ a , b , expected } ) => {
320- | ^
321- 20 | expect (a + b ).toBe (expected );
322- 21 | } );
323- 22 |
324-
325- at ../../packages/jest-each/build/bind.js:38:11
326- at Array.forEach (<anonymous >)
327- at __tests__/worksWithOnlyMode.test.js:19:5
304+
305+ at each (__tests__/worksWithOnlyMode.test.js:15:19)
328306 at Object.describe (__tests__/worksWithOnlyMode.test.js:10:1)
329307
330308 ● block with only, should pass › .add(2, 1)
331309
332310 Failing test passed even though it was supposed to fail. Remove \` .failing\` to remove error.
333311
312+ 13 | });
313+ 14 |
314+ > 15 | it.only.failing.each([
315+ | ^
316+ 16 | { a : 1 , b : 1 , expected : 2 } ,
334317 17 | { a : 1 , b : 2 , expected : 3 } ,
335318 18 | { a : 2 , b : 1 , expected : 3 } ,
336- > 19 | ])('.add($a, $b)', ({ a , b , expected } ) => {
337- | ^
338- 20 | expect (a + b ).toBe (expected );
339- 21 | } );
340- 22 |
341-
342- at ../../packages/jest-each/build/bind.js:38:11
343- at Array.forEach (<anonymous >)
344- at __tests__/worksWithOnlyMode.test.js:19:5
319+
320+ at each (__tests__/worksWithOnlyMode.test.js:15:19)
345321 at Object.describe (__tests__/worksWithOnlyMode.test.js:10:1)
346322
347323 ● block with only, should fail › failing passes = fails, should fail
0 commit comments