@@ -100,7 +100,7 @@ ruleTester.run(RULE_NAME, rule, {
100100 })
101101 ` ,
102102 errors : [
103- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
103+ { line : 4 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
104104 ] ,
105105 } ,
106106 {
@@ -113,7 +113,7 @@ ruleTester.run(RULE_NAME, rule, {
113113 })
114114 ` ,
115115 errors : [
116- { line : 3 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
116+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
117117 ] ,
118118 } ,
119119 {
@@ -126,7 +126,7 @@ ruleTester.run(RULE_NAME, rule, {
126126 })
127127 ` ,
128128 errors : [
129- { line : 3 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
129+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
130130 ] ,
131131 } ,
132132 {
@@ -138,7 +138,7 @@ ruleTester.run(RULE_NAME, rule, {
138138 })
139139 ` ,
140140 errors : [
141- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
141+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
142142 ] ,
143143 } ,
144144 {
@@ -152,7 +152,7 @@ ruleTester.run(RULE_NAME, rule, {
152152 })
153153 ` ,
154154 errors : [
155- { line : 3 , column : 17 , messageId : 'noWaitForMultipleAssertion' } ,
155+ { line : 6 , column : 13 , messageId : 'noWaitForMultipleAssertion' } ,
156156 ] ,
157157 } ,
158158 {
@@ -164,18 +164,22 @@ ruleTester.run(RULE_NAME, rule, {
164164 })
165165 ` ,
166166 errors : [
167- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
167+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
168168 ] ,
169169 } ,
170170 {
171171 code : `
172172 await waitFor(function() {
173173 expect(a).toEqual('a')
174174 expect(b).toEqual('b')
175+ expect(c).toEqual('c')
176+ expect(d).toEqual('d')
175177 })
176178 ` ,
177179 errors : [
178- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
180+ { line : 4 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
181+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
182+ { line : 6 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
179183 ] ,
180184 } ,
181185 {
@@ -187,7 +191,7 @@ ruleTester.run(RULE_NAME, rule, {
187191 })
188192 ` ,
189193 errors : [
190- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
194+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
191195 ] ,
192196 } ,
193197 {
@@ -199,7 +203,7 @@ ruleTester.run(RULE_NAME, rule, {
199203 })
200204 ` ,
201205 errors : [
202- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
206+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
203207 ] ,
204208 } ,
205209 ] ,
0 commit comments