We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cae1a50 commit cd8b03eCopy full SHA for cd8b03e
packages/test-utils/src/wrapper-array.js
@@ -23,7 +23,7 @@ export default class WrapperArray implements BaseWrapper {
23
}
24
25
at(index: number): Wrapper | VueWrapper {
26
- index = index < 0 ? this.length + index : index
+ const normalizedIndex = index < 0 ? this.length + index : index
27
if (index > this.length - 1 || index < 0) {
28
throwError(`no item exists at ${index}`)
29
0 commit comments