Skip to content

Commit f50c65c

Browse files
committed
test(e2e): fix e2e test
1 parent ea35468 commit f50c65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/tests/components/route-link.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ it('RouteLink', () => {
7878
cy.wrap(el).within(() => {
7979
cy.get('a')
8080
.children()
81-
.should('have.lengthOf', (index + 1) % 2)
81+
.should('have.lengthOf', (index % 2) + 1)
8282
.each((el) => {
8383
cy.wrap(el).contains('span', 'text')
8484
})

0 commit comments

Comments
 (0)