mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
feat: uniformize components sizes (#68)
This commit is contained in:
@@ -72,7 +72,9 @@ async function renderForm(options: {
|
||||
|
||||
describe('Form', () => {
|
||||
it.each([
|
||||
['basic case', { props: { state: {} } }],
|
||||
// Props
|
||||
['with state', { props: { state: {} } }],
|
||||
// Slots
|
||||
['with default slot', { props: { state: {} }, slots: { default: 'Form slot' } }]
|
||||
])('renders %s correctly', async (nameOrHtml: string, options: { props: FormProps<any> }) => {
|
||||
const html = await ComponentRender(nameOrHtml, options, UForm)
|
||||
|
||||
Reference in New Issue
Block a user