Skip to content

Commit fd94b75

Browse files
committed
feat: i18n strings and a11y test coverage
1 parent e9dad28 commit fd94b75

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

test/nuxt/a11y.spec.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ import {
104104
PackageManagerSelect,
105105
PackageMetricsBadges,
106106
PackagePlaygrounds,
107+
PackageScoreBars,
107108
PackageReplacement,
108109
PackageSkeleton,
109110
PackageSkillsCard,
@@ -1011,6 +1012,16 @@ describe('component accessibility audits', () => {
10111012
})
10121013
})
10131014

1015+
describe('PackageScoreBars', () => {
1016+
it('should have no accessibility violations', async () => {
1017+
const component = await mountSuspended(PackageScoreBars, {
1018+
props: { packageName: 'vue' },
1019+
})
1020+
const results = await runAxe(component)
1021+
expect(results.violations).toEqual([])
1022+
})
1023+
})
1024+
10141025
describe('PackageAccessControls', () => {
10151026
it('should have no accessibility violations', async () => {
10161027
const component = await mountSuspended(PackageAccessControls, {

0 commit comments

Comments
 (0)