@@ -228,19 +228,6 @@ ruleTester.run('switch statements', rule, {
228
228
} ,
229
229
] ,
230
230
} ,
231
- {
232
- code : dedent `
233
- it.concurrent.skip('foo', () => {
234
- switch('bar') {}
235
- })
236
- ` ,
237
- errors : [
238
- {
239
- data : { condition : 'switch' } ,
240
- messageId : 'conditionalInTest' ,
241
- } ,
242
- ] ,
243
- } ,
244
231
{
245
232
code : dedent `
246
233
it.only('foo', () => {
@@ -254,19 +241,6 @@ ruleTester.run('switch statements', rule, {
254
241
} ,
255
242
] ,
256
243
} ,
257
- {
258
- code : dedent `
259
- it.concurrent.only('foo', () => {
260
- switch('bar') {}
261
- })
262
- ` ,
263
- errors : [
264
- {
265
- data : { condition : 'switch' } ,
266
- messageId : 'conditionalInTest' ,
267
- } ,
268
- ] ,
269
- } ,
270
244
{
271
245
code : dedent `
272
246
xit('foo', () => {
@@ -321,7 +295,7 @@ ruleTester.run('switch statements', rule, {
321
295
} ,
322
296
{
323
297
code : dedent `
324
- test.concurrent. skip('foo', () => {
298
+ test.skip('foo', () => {
325
299
switch('bar') {}
326
300
})
327
301
` ,
@@ -334,7 +308,7 @@ ruleTester.run('switch statements', rule, {
334
308
} ,
335
309
{
336
310
code : dedent `
337
- test.concurrent. only('foo', () => {
311
+ test.only('foo', () => {
338
312
switch('bar') {}
339
313
})
340
314
` ,
@@ -636,19 +610,6 @@ ruleTester.run('if statements', rule, {
636
610
} ,
637
611
] ,
638
612
} ,
639
- {
640
- code : dedent `
641
- it.concurrent.skip('foo', () => {
642
- if('bar') {}
643
- })
644
- ` ,
645
- errors : [
646
- {
647
- data : { condition : 'if' } ,
648
- messageId : 'conditionalInTest' ,
649
- } ,
650
- ] ,
651
- } ,
652
613
{
653
614
code : dedent `
654
615
it.only('foo', () => {
@@ -662,19 +623,6 @@ ruleTester.run('if statements', rule, {
662
623
} ,
663
624
] ,
664
625
} ,
665
- {
666
- code : dedent `
667
- it.concurrent.only('foo', () => {
668
- if('bar') {}
669
- })
670
- ` ,
671
- errors : [
672
- {
673
- data : { condition : 'if' } ,
674
- messageId : 'conditionalInTest' ,
675
- } ,
676
- ] ,
677
- } ,
678
626
{
679
627
code : dedent `
680
628
xit('foo', () => {
@@ -729,7 +677,7 @@ ruleTester.run('if statements', rule, {
729
677
} ,
730
678
{
731
679
code : dedent `
732
- test.concurrent. skip('foo', () => {
680
+ test.skip('foo', () => {
733
681
if('bar') {}
734
682
})
735
683
` ,
@@ -742,7 +690,7 @@ ruleTester.run('if statements', rule, {
742
690
} ,
743
691
{
744
692
code : dedent `
745
- test.concurrent. only('foo', () => {
693
+ test.only('foo', () => {
746
694
if('bar') {}
747
695
})
748
696
` ,
0 commit comments