File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ afterEach(() => {
5656// For server/client variants, we need to import directly to test the specific variant
5757import {
5858 AppFooter ,
59+ AppLogo ,
5960 AppHeader ,
6061 UserAvatar ,
6162 BuildEnvironment ,
@@ -179,6 +180,22 @@ describe('component accessibility audits', () => {
179180 } )
180181 } )
181182
183+ describe ( 'AppLogo' , ( ) => {
184+ it ( 'should have no accessibility violations' , async ( ) => {
185+ const component = await mountSuspended ( AppLogo )
186+ const results = await runAxe ( component )
187+ expect ( results . violations ) . toEqual ( [ ] )
188+ } )
189+
190+ it ( 'should have no accessibility violations with custom class' , async ( ) => {
191+ const component = await mountSuspended ( AppLogo , {
192+ props : { class : 'h-6 w-6 text-accent' } ,
193+ } )
194+ const results = await runAxe ( component )
195+ expect ( results . violations ) . toEqual ( [ ] )
196+ } )
197+ } )
198+
182199 describe ( 'AppHeader' , ( ) => {
183200 it ( 'should have no accessibility violations' , async ( ) => {
184201 const component = await mountSuspended ( AppHeader )
You can’t perform that action at this time.
0 commit comments