From 7d736c38120c655f577cc066017675f9327c46cb Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 17 Apr 2024 15:44:35 +0200 Subject: [PATCH] test(Alert): use `primary` color with variant --- test/components/Alert.spec.ts | 2 +- test/components/__snapshots__/Alert.spec.ts.snap | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/components/Alert.spec.ts b/test/components/Alert.spec.ts index aa1b3c15..89a2a26a 100644 --- a/test/components/Alert.spec.ts +++ b/test/components/Alert.spec.ts @@ -15,7 +15,7 @@ describe('Alert', () => { ['with avatar', { props: { title: 'Title', avatar: { src: 'https://avatars.githubusercontent.com/u/739984?v=4' } } }], ['with as', { props: { title: 'Title', as: 'article' } }], ...colors.map((color: string) => [`with color ${color}`, { props: { label: 'Badge', color } }]), - ...variants.map((variant: string) => [`with variant ${variant}`, { props: { label: 'Badge', variant } }]), + ...variants.map((variant: string) => [`with variant ${variant}`, { props: { label: 'Badge', color: 'primary', variant } }]), ['with class', { props: { class: 'w-48' } }], ['with ui', { props: { ui: { title: 'font-bold' } } }], // Slots diff --git a/test/components/__snapshots__/Alert.spec.ts.snap b/test/components/__snapshots__/Alert.spec.ts.snap index 72fad784..b6b294db 100644 --- a/test/components/__snapshots__/Alert.spec.ts.snap +++ b/test/components/__snapshots__/Alert.spec.ts.snap @@ -205,7 +205,7 @@ exports[`Alert > renders with ui correctly 1`] = ` `; exports[`Alert > renders with variant outline correctly 1`] = ` -"
+"
@@ -217,7 +217,7 @@ exports[`Alert > renders with variant outline correctly 1`] = ` `; exports[`Alert > renders with variant soft correctly 1`] = ` -"
+"
@@ -229,7 +229,7 @@ exports[`Alert > renders with variant soft correctly 1`] = ` `; exports[`Alert > renders with variant solid correctly 1`] = ` -"
+"
@@ -241,7 +241,7 @@ exports[`Alert > renders with variant solid correctly 1`] = ` `; exports[`Alert > renders with variant subtle correctly 1`] = ` -"
+"