We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea35468 commit f50c65cCopy full SHA for f50c65c
e2e/tests/components/route-link.cy.ts
@@ -78,7 +78,7 @@ it('RouteLink', () => {
78
cy.wrap(el).within(() => {
79
cy.get('a')
80
.children()
81
- .should('have.lengthOf', (index + 1) % 2)
+ .should('have.lengthOf', (index % 2) + 1)
82
.each((el) => {
83
cy.wrap(el).contains('span', 'text')
84
})
0 commit comments