From 0e0c708883c78fdee5f2d24022f49e8ed6fe0968 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Tue, 12 Mar 2024 15:38:31 +0100 Subject: [PATCH] chore(Tooltip): update --- playground/pages/tooltip.vue | 2 +- test/components/Tooltip.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playground/pages/tooltip.vue b/playground/pages/tooltip.vue index 03707795..64e8e91c 100644 --- a/playground/pages/tooltip.vue +++ b/playground/pages/tooltip.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/test/components/Tooltip.spec.ts b/test/components/Tooltip.spec.ts index 3674bad3..2d4dc8d9 100644 --- a/test/components/Tooltip.spec.ts +++ b/test/components/Tooltip.spec.ts @@ -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()