@@ -100,7 +100,7 @@ ruleTester.run(RULE_NAME, rule, {
100
100
})
101
101
` ,
102
102
errors : [
103
- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
103
+ { line : 4 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
104
104
] ,
105
105
} ,
106
106
{
@@ -113,7 +113,7 @@ ruleTester.run(RULE_NAME, rule, {
113
113
})
114
114
` ,
115
115
errors : [
116
- { line : 3 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
116
+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
117
117
] ,
118
118
} ,
119
119
{
@@ -126,7 +126,7 @@ ruleTester.run(RULE_NAME, rule, {
126
126
})
127
127
` ,
128
128
errors : [
129
- { line : 3 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
129
+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
130
130
] ,
131
131
} ,
132
132
{
@@ -138,7 +138,7 @@ ruleTester.run(RULE_NAME, rule, {
138
138
})
139
139
` ,
140
140
errors : [
141
- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
141
+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
142
142
] ,
143
143
} ,
144
144
{
@@ -152,7 +152,7 @@ ruleTester.run(RULE_NAME, rule, {
152
152
})
153
153
` ,
154
154
errors : [
155
- { line : 3 , column : 17 , messageId : 'noWaitForMultipleAssertion' } ,
155
+ { line : 6 , column : 13 , messageId : 'noWaitForMultipleAssertion' } ,
156
156
] ,
157
157
} ,
158
158
{
@@ -164,18 +164,22 @@ ruleTester.run(RULE_NAME, rule, {
164
164
})
165
165
` ,
166
166
errors : [
167
- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
167
+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
168
168
] ,
169
169
} ,
170
170
{
171
171
code : `
172
172
await waitFor(function() {
173
173
expect(a).toEqual('a')
174
174
expect(b).toEqual('b')
175
+ expect(c).toEqual('c')
176
+ expect(d).toEqual('d')
175
177
})
176
178
` ,
177
179
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' } ,
179
183
] ,
180
184
} ,
181
185
{
@@ -187,7 +191,7 @@ ruleTester.run(RULE_NAME, rule, {
187
191
})
188
192
` ,
189
193
errors : [
190
- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
194
+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
191
195
] ,
192
196
} ,
193
197
{
@@ -199,7 +203,7 @@ ruleTester.run(RULE_NAME, rule, {
199
203
})
200
204
` ,
201
205
errors : [
202
- { line : 2 , column : 15 , messageId : 'noWaitForMultipleAssertion' } ,
206
+ { line : 5 , column : 11 , messageId : 'noWaitForMultipleAssertion' } ,
203
207
] ,
204
208
} ,
205
209
] ,
0 commit comments