test: missing props in with ui

This commit is contained in:
Benjamin Canac
2024-05-27 14:51:44 +02:00
parent c9c685a01c
commit 88926091d5
8 changed files with 348 additions and 211 deletions

View File

@@ -56,7 +56,7 @@ describe('SelectMenu', () => {
...colors.map((color: string) => [`with color ${color}`, { props: { ...props, color } }]),
...variants.map((variant: string) => [`with variant ${variant}`, { props: { ...props, variant } }]),
['with class', { props: { ...props, class: 'rounded-full' } }],
['with ui', { props: { ui: { ...props, group: 'p-2' } } }],
['with ui', { props: { ...props, ui: { group: 'p-2' } } }],
// Slots
['with leading slot', { props, slots: { leading: () => 'Leading slot' } }],
['with default slot', { props, slots: { default: () => 'Default slot' } }],