Skip to content

Commit cd0d3bd

Browse files
committed
fix: tests
1 parent b9c20cd commit cd0d3bd

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

test/nuxt/a11y.spec.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,8 +2217,13 @@ describe('component accessibility audits', () => {
22172217
const component = await mountSuspended(AuthorList, {
22182218
props: {
22192219
authors: [
2220-
{ name: 'Daniel Roe', blueskyHandle: 'danielroe.dev' },
2221-
{ name: 'Salma Alam-Naylor' },
2220+
{
2221+
name: 'Daniel Roe',
2222+
blueskyHandle: 'danielroe.dev',
2223+
avatar: null,
2224+
profileUrl: 'https://bsky.app/profile/danielroe.dev',
2225+
},
2226+
{ name: 'Salma Alam-Naylor', avatar: null, profileUrl: null },
22222227
],
22232228
},
22242229
})
@@ -2292,7 +2297,14 @@ describe('component accessibility audits', () => {
22922297
it('should have no accessibility violations', async () => {
22932298
const component = await mountSuspended(BlogPostListCard, {
22942299
props: {
2295-
authors: [{ name: 'Daniel Roe', blueskyHandle: 'danielroe.dev' }],
2300+
authors: [
2301+
{
2302+
name: 'Daniel Roe',
2303+
blueskyHandle: 'danielroe.dev',
2304+
avatar: null,
2305+
profileUrl: 'https://bsky.app/profile/danielroe.dev',
2306+
},
2307+
],
22962308
title: 'Building Accessible Vue Components',
22972309
topics: ['accessibility', 'vue'],
22982310
excerpt: 'A guide to building accessible components in Vue.js applications.',

0 commit comments

Comments
 (0)