@@ -32,14 +32,6 @@ ruleTester.run('consistent-test-it with fn=test', rule, {
3232 code : 'xtest("foo")' ,
3333 options : [ { fn : TestCaseName . test } ] ,
3434 } ,
35- {
36- code : 'test.each([])("foo")' ,
37- options : [ { fn : TestCaseName . test } ] ,
38- } ,
39- {
40- code : 'test.each``("foo")' ,
41- options : [ { fn : TestCaseName . test } ] ,
42- } ,
4335 {
4436 code : 'describe("suite", () => { test("foo") })' ,
4537 options : [ { fn : TestCaseName . test } ] ,
@@ -130,34 +122,6 @@ ruleTester.run('consistent-test-it with fn=test', rule, {
130122 } ,
131123 ] ,
132124 } ,
133- {
134- code : 'it.each([])("foo")' ,
135- output : 'test.each([])("foo")' ,
136- options : [ { fn : TestCaseName . test } ] ,
137- errors : [
138- {
139- messageId : 'consistentMethod' ,
140- data : {
141- testKeyword : TestCaseName . test ,
142- oppositeTestKeyword : TestCaseName . it ,
143- } ,
144- } ,
145- ] ,
146- } ,
147- {
148- code : 'it.each``("foo")' ,
149- output : 'test.each``("foo")' ,
150- options : [ { fn : TestCaseName . test } ] ,
151- errors : [
152- {
153- messageId : 'consistentMethod' ,
154- data : {
155- testKeyword : TestCaseName . test ,
156- oppositeTestKeyword : TestCaseName . it ,
157- } ,
158- } ,
159- ] ,
160- } ,
161125 {
162126 code : 'describe("suite", () => { it("foo") })' ,
163127 output : 'describe("suite", () => { test("foo") })' ,
@@ -201,14 +165,6 @@ ruleTester.run('consistent-test-it with fn=it', rule, {
201165 code : 'it.concurrent("foo")' ,
202166 options : [ { fn : TestCaseName . it } ] ,
203167 } ,
204- {
205- code : 'it.each([])("foo")' ,
206- options : [ { fn : TestCaseName . it } ] ,
207- } ,
208- {
209- code : 'it.each``("foo")' ,
210- options : [ { fn : TestCaseName . it } ] ,
211- } ,
212168 {
213169 code : 'describe("suite", () => { it("foo") })' ,
214170 options : [ { fn : TestCaseName . it } ] ,
@@ -285,34 +241,6 @@ ruleTester.run('consistent-test-it with fn=it', rule, {
285241 } ,
286242 ] ,
287243 } ,
288- {
289- code : 'test.each([])("foo")' ,
290- output : 'it.each([])("foo")' ,
291- options : [ { fn : TestCaseName . it } ] ,
292- errors : [
293- {
294- messageId : 'consistentMethod' ,
295- data : {
296- testKeyword : TestCaseName . it ,
297- oppositeTestKeyword : TestCaseName . test ,
298- } ,
299- } ,
300- ] ,
301- } ,
302- {
303- code : 'test.each``("foo")' ,
304- output : 'it.each``("foo")' ,
305- options : [ { fn : TestCaseName . it } ] ,
306- errors : [
307- {
308- messageId : 'consistentMethod' ,
309- data : {
310- testKeyword : TestCaseName . it ,
311- oppositeTestKeyword : TestCaseName . test ,
312- } ,
313- } ,
314- ] ,
315- } ,
316244 {
317245 code : 'describe("suite", () => { test("foo") })' ,
318246 output : 'describe("suite", () => { it("foo") })' ,
0 commit comments