mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
test(Tooltip): add skip
This commit is contained in:
12
test/components/Tooltip.spec.ts
Normal file
12
test/components/Tooltip.spec.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { describe, it, expect } from 'vitest'
|
||||
import Tooltip, { type TooltipProps } from '../../src/runtime/components/Tooltip.vue'
|
||||
import ComponentRender from '../component-render'
|
||||
|
||||
describe.skip('Tooltip', () => {
|
||||
it.each([
|
||||
['with content', { props: { content: 'Tooltip content', defaultOpen: 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()
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user