test: update

This commit is contained in:
Benjamin Canac
2024-03-13 12:27:10 +01:00
parent 4d3bab71e5
commit 959b1295f2
8 changed files with 27 additions and 0 deletions

View File

@@ -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' } }]