Skip to content

Commit 4260601

Browse files
committed
chore: fix test
1 parent ba54e09 commit 4260601

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/nuxt/a11y.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2854,23 +2854,23 @@ describe('component accessibility audits', () => {
28542854
describe('UserAvatar', () => {
28552855
it('should have no accessibility violations', async () => {
28562856
const component = await mountSuspended(UserAvatar, {
2857-
props: { username: 'testuser' },
2857+
props: { username: 'testuser', size: 'lg' },
28582858
})
28592859
const results = await runAxe(component)
28602860
expect(results.violations).toEqual([])
28612861
})
28622862

28632863
it('should have no accessibility violations with short username', async () => {
28642864
const component = await mountSuspended(UserAvatar, {
2865-
props: { username: 'a' },
2865+
props: { username: 'a', size: 'lg' },
28662866
})
28672867
const results = await runAxe(component)
28682868
expect(results.violations).toEqual([])
28692869
})
28702870

28712871
it('should have no accessibility violations with long username', async () => {
28722872
const component = await mountSuspended(UserAvatar, {
2873-
props: { username: 'verylongusernameexample' },
2873+
props: { username: 'verylongusernameexample', size: 'lg' },
28742874
})
28752875
const results = await runAxe(component)
28762876
expect(results.violations).toEqual([])

0 commit comments

Comments
 (0)