@@ -89,6 +89,22 @@ ruleTester.run('no-disabled-tests', rule, {
89
89
code : 'test.skip("foo", function () {})' ,
90
90
errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
91
91
} ,
92
+ {
93
+ code : 'it.skip.each``("foo", function () {})' ,
94
+ errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
95
+ } ,
96
+ {
97
+ code : 'test.skip.each``("foo", function () {})' ,
98
+ errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
99
+ } ,
100
+ {
101
+ code : 'it.skip.each([])("foo", function () {})' ,
102
+ errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
103
+ } ,
104
+ {
105
+ code : 'test.skip.each([])("foo", function () {})' ,
106
+ errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
107
+ } ,
92
108
{
93
109
code : 'test.concurrent.skip("foo", function () {})' ,
94
110
errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
@@ -109,6 +125,22 @@ ruleTester.run('no-disabled-tests', rule, {
109
125
code : 'xtest("foo", function () {})' ,
110
126
errors : [ { messageId : 'disabledTest' , column : 1 , line : 1 } ] ,
111
127
} ,
128
+ {
129
+ code : 'xit.each``("foo", function () {})' ,
130
+ errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
131
+ } ,
132
+ {
133
+ code : 'xtest.each``("foo", function () {})' ,
134
+ errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
135
+ } ,
136
+ {
137
+ code : 'xit.each([])("foo", function () {})' ,
138
+ errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
139
+ } ,
140
+ {
141
+ code : 'xtest.each([])("foo", function () {})' ,
142
+ errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
143
+ } ,
112
144
{
113
145
code : 'it("has title but no callback")' ,
114
146
errors : [ { messageId : 'missingFunction' , column : 1 , line : 1 } ] ,
0 commit comments