Skip to content

Commit 362cbdd

Browse files
committed
test(PackageSelector): remove more low-value tests
1 parent 288ac61 commit 362cbdd

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

test/nuxt/components/compare/PackageSelector.spec.ts

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -331,32 +331,6 @@ describe('PackageSelector', () => {
331331
})
332332
})
333333

334-
describe('accessibility', () => {
335-
it('remove buttons have aria-label', async () => {
336-
const component = await mountSuspended(PackageSelector, {
337-
props: {
338-
modelValue: ['lodash'],
339-
},
340-
})
341-
342-
const removeButton = component
343-
.findAll('button')
344-
.find(b => b.find('.i-carbon\\:close').exists())
345-
expect(removeButton?.attributes('aria-label')).toBeTruthy()
346-
})
347-
348-
it('search input has aria-autocomplete', async () => {
349-
const component = await mountSuspended(PackageSelector, {
350-
props: {
351-
modelValue: [],
352-
},
353-
})
354-
355-
const input = component.find('input')
356-
expect(input.attributes('aria-autocomplete')).toBe('list')
357-
})
358-
})
359-
360334
describe('search results dropdown', () => {
361335
it('renders dropdown container when focused with results', async () => {
362336
const component = await mountSuspended(PackageSelector, {

0 commit comments

Comments
 (0)