chore(Tooltip): update

This commit is contained in:
Benjamin Canac
2024-03-12 15:38:31 +01:00
parent a026ae176e
commit 0e0c708883
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import ComponentRender from '../component-render'
describe.skip('Tooltip', () => {
it.each([
['with content', { props: { content: 'Tooltip content', defaultOpen: true }, slots: { default: () => 'Hover me' } }]
['with text', { props: { text: 'Tooltip', open: true }, slots: { default: () => 'Hover me' } }]
])('renders %s correctly', async (nameOrHtml: string, options: { props?: TooltipProps, slots?: any }) => {
const html = await ComponentRender(nameOrHtml, options, Tooltip)
expect(html).toMatchSnapshot()