test(Alert): use primary color with variant

This commit is contained in:
Benjamin Canac
2024-04-17 15:44:35 +02:00
parent d3c79912d8
commit 7d736c3812
2 changed files with 5 additions and 5 deletions

View File

@@ -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