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