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,8 @@ import ComponentRender from '../component-render'
|
||||
describe('Card', () => {
|
||||
it.each([
|
||||
['basic case', {}],
|
||||
['with as', { props: { as: 'section' } }],
|
||||
['with class', { props: { class: 'rounded-xl' } }],
|
||||
['with default slot', { slots: { default: () => 'Default slot' } }],
|
||||
['with header slot', { slots: { header: () => 'Header slot' } }],
|
||||
['with footer slot', { slots: { footer: () => 'Footer slot' } }]
|
||||
|
||||
Reference in New Issue
Block a user