mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
test: type options slots
This commit is contained in:
@@ -7,7 +7,7 @@ describe('Skeleton', () => {
|
||||
// Props
|
||||
['with as', { props: { as: 'span' } }],
|
||||
['with class', { props: { class: 'rounded-full size-12' } }]
|
||||
])('renders %s correctly', async (nameOrHtml: string, options: { props?: SkeletonProps, slots?: any }) => {
|
||||
])('renders %s correctly', async (nameOrHtml: string, options: { props?: SkeletonProps }) => {
|
||||
const html = await ComponentRender(nameOrHtml, options, Skeleton)
|
||||
expect(html).toMatchSnapshot()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user