Skip to content

Commit 09380b5

Browse files
authored
test(jsx-uses-vars): make tests more strict (#2841)
1 parent 37c3da0 commit 09380b5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/lib/rules/jsx-uses-vars.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ describe('jsx-uses-vars', () => {
124124
`
125125
}
126126
]
127-
: null
127+
: null,
128+
line: 3,
129+
column: 16,
130+
endLine: 3,
131+
endColumn: 29
128132
}
129133
]
130134
},
@@ -162,7 +166,11 @@ describe('jsx-uses-vars', () => {
162166
`
163167
}
164168
]
165-
: null
169+
: null,
170+
line: 4,
171+
column: 15,
172+
endLine: 4,
173+
endColumn: 22
166174
}
167175
]
168176
}

0 commit comments

Comments
 (0)