@@ -89,6 +89,22 @@ ruleTester.run('no-disabled-tests', rule, {
8989 code : 'test.skip("foo", function () {})' ,
9090 errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
9191 } ,
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+ } ,
92108 {
93109 code : 'test.concurrent.skip("foo", function () {})' ,
94110 errors : [ { messageId : 'skippedTest' , column : 1 , line : 1 } ] ,
@@ -109,6 +125,22 @@ ruleTester.run('no-disabled-tests', rule, {
109125 code : 'xtest("foo", function () {})' ,
110126 errors : [ { messageId : 'disabledTest' , column : 1 , line : 1 } ] ,
111127 } ,
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+ } ,
112144 {
113145 code : 'it("has title but no callback")' ,
114146 errors : [ { messageId : 'missingFunction' , column : 1 , line : 1 } ] ,
0 commit comments