Skip to content

Commit a41473d

Browse files
committed
test: new: no a11y issues in new component
1 parent 7b186a7 commit a41473d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

test/nuxt/a11y.spec.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ import {
5858
AppFooter,
5959
AppHeader,
6060
BuildEnvironment,
61+
CallToAction,
6162
CodeDirectoryListing,
6263
CodeFileTree,
6364
CodeMobileTreeDrawer,
@@ -1449,6 +1450,14 @@ describe('component accessibility audits', () => {
14491450
})
14501451
})
14511452

1453+
describe('CallToAction', () => {
1454+
it('should have no accessibility violations', async () => {
1455+
const component = await mountSuspended(CallToAction)
1456+
const results = await runAxe(component)
1457+
expect(results.violations).toEqual([])
1458+
})
1459+
})
1460+
14521461
describe('CollapsibleSection', () => {
14531462
it('should have no accessibility violations', async () => {
14541463
const component = await mountSuspended(CollapsibleSection, {

0 commit comments

Comments
 (0)