test(Popover/Tooltip): add class / ui props

This commit is contained in:
Benjamin Canac
2024-11-19 22:09:33 +01:00
parent 7a02bfeba6
commit faec8260a4
6 changed files with 120 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ describe('Popover', () => {
// Props
['with open', { props }],
['with arrow', { props: { ...props, arrow: true } }],
['with class', { props: { ...props, class: 'shadow-xl' } }],
['with ui', { props: { ...props, ui: { content: 'shadow-xl' } } }],
// Slots
['with default slot', { props, slots: { default: () => 'Default slot' } }],
['with content slot', { props, slots: { content: () => 'Content slot' } }]