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

@@ -27,6 +27,8 @@ describe('Tooltip', () => {
['with text', { props }],
['with arrow', { props: { ...props, arrow: true } }],
['with kbds', { props: { ...props, kbds: ['meta', 'K'] } }],
['with class', { props: { ...props, class: 'text-sm' } }],
['with ui', { props: { ...props, ui: { content: 'text-sm' } } }],
// Slots
['with default slot', { props, slots: { default: () => 'Default slot' } }],
['with content slot', { props, slots: { content: () => 'Content slot' } }]