Skip to content

Commit 19b681d

Browse files
committed
Merge branch 'markdown-links' into route-option
2 parents 00b54f3 + 07a2913 commit 19b681d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commitlint.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const packages = getSubDirectories(path.resolve(__dirname, 'packages'))
1111
export default {
1212
extends: ['@commitlint/config-conventional'],
1313
rules: {
14-
'scope-enum': [2, 'always', packages],
14+
'scope-enum': [2, 'always', [...packages, 'e2e']],
1515
'footer-max-line-length': [0],
1616
},
1717
} satisfies UserConfig

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)