@@ -83,7 +83,6 @@ import {
8383 FilterPanel ,
8484 HeaderAccountMenu ,
8585 InstallCommandTerminal ,
86- JsrBadge ,
8786 LicenseDisplay ,
8887 LoadingSpinner ,
8988 MarkdownText ,
@@ -116,14 +115,12 @@ import {
116115 SearchBox ,
117116 SearchSuggestionCard ,
118117 Toggle ,
119- UserCombobox ,
120118 VersionSelector ,
121119 ViewModeToggle ,
122120} from '#components'
123121
124122// Server variant components must be imported directly to test the server-side render
125123// The #components import automatically provides the client variant
126- import AuthButtonServer from '~/components/AuthButton.server.vue'
127124import HeaderAccountMenuServer from '~/components/HeaderAccountMenu.server.vue'
128125import ToggleServer from '~/components/Toggle.server.vue'
129126
@@ -251,24 +248,6 @@ describe('component accessibility audits', () => {
251248 } )
252249 } )
253250
254- describe ( 'JsrBadge' , ( ) => {
255- it ( 'should have no accessibility violations' , async ( ) => {
256- const component = await mountSuspended ( JsrBadge , {
257- props : { url : 'https://jsr.io/@std/fs' } ,
258- } )
259- const results = await runAxe ( component )
260- expect ( results . violations ) . toEqual ( [ ] )
261- } )
262-
263- it ( 'should have no accessibility violations in compact mode' , async ( ) => {
264- const component = await mountSuspended ( JsrBadge , {
265- props : { url : 'https://jsr.io/@std/fs' , compact : true } ,
266- } )
267- const results = await runAxe ( component )
268- expect ( results . violations ) . toEqual ( [ ] )
269- } )
270- } )
271-
272251 describe ( 'ProvenanceBadge' , ( ) => {
273252 it ( 'should have no accessibility violations without link' , async ( ) => {
274253 const component = await mountSuspended ( ProvenanceBadge )
@@ -722,31 +701,6 @@ describe('component accessibility audits', () => {
722701 } )
723702 } )
724703
725- describe ( 'UserCombobox' , ( ) => {
726- it ( 'should have no accessibility violations' , async ( ) => {
727- const component = await mountSuspended ( UserCombobox , {
728- props : {
729- suggestions : [ 'user1' , 'user2' , 'user3' ] ,
730- label : 'Select a user' ,
731- } ,
732- } )
733- const results = await runAxe ( component )
734- expect ( results . violations ) . toEqual ( [ ] )
735- } )
736-
737- it ( 'should have no accessibility violations when disabled' , async ( ) => {
738- const component = await mountSuspended ( UserCombobox , {
739- props : {
740- suggestions : [ 'user1' , 'user2' ] ,
741- disabled : true ,
742- label : 'Select a user' ,
743- } ,
744- } )
745- const results = await runAxe ( component )
746- expect ( results . violations ) . toEqual ( [ ] )
747- } )
748- } )
749-
750704 describe ( 'ConnectorModal' , ( ) => {
751705 it ( 'should have no accessibility violations when closed' , async ( ) => {
752706 const component = await mountSuspended ( ConnectorModal , {
0 commit comments