Skip to content

Commit ea8fcdd

Browse files
authored
test(define-props-declaration): make tests more strict (#2821)
1 parent 218b223 commit ea8fcdd

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

tests/lib/rules/define-props-declaration.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ tester.run('define-props-declaration', rule, {
120120
errors: [
121121
{
122122
message: 'Use type-based declaration instead of runtime declaration.',
123-
line: 3
123+
line: 3,
124+
column: 21,
125+
endLine: 5,
126+
endColumn: 9
124127
}
125128
]
126129
},
@@ -137,7 +140,10 @@ tester.run('define-props-declaration', rule, {
137140
errors: [
138141
{
139142
message: 'Use type-based declaration instead of runtime declaration.',
140-
line: 3
143+
line: 3,
144+
column: 21,
145+
endLine: 5,
146+
endColumn: 9
141147
}
142148
]
143149
},
@@ -159,7 +165,10 @@ tester.run('define-props-declaration', rule, {
159165
errors: [
160166
{
161167
message: 'Use runtime declaration instead of type-based declaration.',
162-
line: 3
168+
line: 3,
169+
column: 21,
170+
endLine: 5,
171+
endColumn: 11
163172
}
164173
]
165174
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy