{{ $t('compare.facets.trends.title') }}
diff --git a/app/pages/package/[[org]]/[name].vue b/app/pages/package/[[org]]/[name].vue
index de6c114d9..4fa808f5d 100644
--- a/app/pages/package/[[org]]/[name].vue
+++ b/app/pages/package/[[org]]/[name].vue
@@ -670,7 +670,12 @@ const showSkeleton = shallowRef(false)
>
-
+
+
-
-
-
-
-
@@ -750,26 +739,7 @@ const showSkeleton = shallowRef(false)
class="text-fg-subtle text-sm shrink-0"
>{{ $t('package.not_latest') }}
-
-
-
-
+
{
})
})
+ describe('CopyToClipboardButton', () => {
+ it('should have no accessibility violations in default state', async () => {
+ const component = await mountSuspended(CopyToClipboardButton, {
+ props: { copied: false },
+ slots: { default: 'npm install vue' },
+ })
+ const results = await runAxe(component)
+ expect(results.violations).toEqual([])
+ })
+
+ it('should have no accessibility violations in copied state', async () => {
+ const component = await mountSuspended(CopyToClipboardButton, {
+ props: { copied: true },
+ slots: { default: 'npm install vue' },
+ })
+ const results = await runAxe(component)
+ expect(results.violations).toEqual([])
+ })
+ })
+
describe('CollapsibleSection', () => {
it('should have no accessibility violations', async () => {
const component = await mountSuspended(CollapsibleSection, {