@@ -118,12 +118,18 @@ ruleTester.run('no-deprecated-destroyed-lifecycle', rule, {
118
118
{
119
119
message :
120
120
'The `beforeDestroy` lifecycle hook is deprecated. Use `beforeUnmount` instead.' ,
121
- line : 4
121
+ line : 4 ,
122
+ column : 9 ,
123
+ endLine : 4 ,
124
+ endColumn : 22
122
125
} ,
123
126
{
124
127
message :
125
128
'The `destroyed` lifecycle hook is deprecated. Use `unmounted` instead.' ,
126
- line : 5
129
+ line : 5 ,
130
+ column : 9 ,
131
+ endLine : 5 ,
132
+ endColumn : 18
127
133
}
128
134
]
129
135
} ,
@@ -149,12 +155,18 @@ ruleTester.run('no-deprecated-destroyed-lifecycle', rule, {
149
155
{
150
156
message :
151
157
'The `beforeDestroy` lifecycle hook is deprecated. Use `beforeUnmount` instead.' ,
152
- line : 4
158
+ line : 4 ,
159
+ column : 9 ,
160
+ endLine : 4 ,
161
+ endColumn : 22
153
162
} ,
154
163
{
155
164
message :
156
165
'The `destroyed` lifecycle hook is deprecated. Use `unmounted` instead.' ,
157
- line : 5
166
+ line : 5 ,
167
+ column : 9 ,
168
+ endLine : 5 ,
169
+ endColumn : 18
158
170
}
159
171
]
160
172
} ,
@@ -198,12 +210,18 @@ ruleTester.run('no-deprecated-destroyed-lifecycle', rule, {
198
210
{
199
211
message :
200
212
'The `beforeDestroy` lifecycle hook is deprecated. Use `beforeUnmount` instead.' ,
201
- line : 12
213
+ line : 12 ,
214
+ column : 9 ,
215
+ endLine : 12 ,
216
+ endColumn : 22
202
217
} ,
203
218
{
204
219
message :
205
220
'The `destroyed` lifecycle hook is deprecated. Use `unmounted` instead.' ,
206
- line : 13
221
+ line : 13 ,
222
+ column : 9 ,
223
+ endLine : 13 ,
224
+ endColumn : 18
207
225
}
208
226
]
209
227
} ,
@@ -229,12 +247,18 @@ ruleTester.run('no-deprecated-destroyed-lifecycle', rule, {
229
247
{
230
248
message :
231
249
'The `beforeDestroy` lifecycle hook is deprecated. Use `beforeUnmount` instead.' ,
232
- line : 4
250
+ line : 4 ,
251
+ column : 10 ,
252
+ endLine : 4 ,
253
+ endColumn : 25
233
254
} ,
234
255
{
235
256
message :
236
257
'The `destroyed` lifecycle hook is deprecated. Use `unmounted` instead.' ,
237
- line : 5
258
+ line : 5 ,
259
+ column : 10 ,
260
+ endLine : 5 ,
261
+ endColumn : 21
238
262
}
239
263
]
240
264
} ,
@@ -260,12 +284,18 @@ ruleTester.run('no-deprecated-destroyed-lifecycle', rule, {
260
284
{
261
285
message :
262
286
'The `beforeDestroy` lifecycle hook is deprecated. Use `beforeUnmount` instead.' ,
263
- line : 4
287
+ line : 4 ,
288
+ column : 10 ,
289
+ endLine : 4 ,
290
+ endColumn : 25
264
291
} ,
265
292
{
266
293
message :
267
294
'The `destroyed` lifecycle hook is deprecated. Use `unmounted` instead.' ,
268
- line : 5
295
+ line : 5 ,
296
+ column : 10 ,
297
+ endLine : 5 ,
298
+ endColumn : 21
269
299
}
270
300
]
271
301
}
0 commit comments