@@ -353,6 +353,26 @@ ruleTester.run('title-must-be-string', rule, {
353
353
} ,
354
354
] ,
355
355
} ,
356
+ {
357
+ code : 'it.skip.each([])(1, () => {});' ,
358
+ errors : [
359
+ {
360
+ messageId : 'titleMustBeString' ,
361
+ column : 18 ,
362
+ line : 1 ,
363
+ } ,
364
+ ] ,
365
+ } ,
366
+ {
367
+ code : 'it.skip.each``(1, () => {});' ,
368
+ errors : [
369
+ {
370
+ messageId : 'titleMustBeString' ,
371
+ column : 16 ,
372
+ line : 1 ,
373
+ } ,
374
+ ] ,
375
+ } ,
356
376
{
357
377
code : 'it(123, () => {});' ,
358
378
errors : [
@@ -658,6 +678,16 @@ ruleTester.run('no-accidental-space', rule, {
658
678
output : 'describe("foo", function () {})' ,
659
679
errors : [ { messageId : 'accidentalSpace' , column : 10 , line : 1 } ] ,
660
680
} ,
681
+ {
682
+ code : 'describe.each()(" foo", function () {})' ,
683
+ output : 'describe.each()("foo", function () {})' ,
684
+ errors : [ { messageId : 'accidentalSpace' , column : 17 , line : 1 } ] ,
685
+ } ,
686
+ {
687
+ code : 'describe.only.each()(" foo", function () {})' ,
688
+ output : 'describe.only.each()("foo", function () {})' ,
689
+ errors : [ { messageId : 'accidentalSpace' , column : 22 , line : 1 } ] ,
690
+ } ,
661
691
{
662
692
code : 'describe(" foo foe fum", function () {})' ,
663
693
output : 'describe("foo foe fum", function () {})' ,
0 commit comments