test: update

This commit is contained in:
Benjamin Canac
2024-03-20 14:03:33 +01:00
parent 6e10a0942f
commit 418ffb8426
9 changed files with 217 additions and 579 deletions

View File

@@ -6,7 +6,7 @@ describe('Link', () => {
it.each([
['with as', { props: { as: 'div' } }],
['with to', { props: { to: '/' } }],
['with type', { props: { type: 'submit' } }],
['with type', { props: { type: 'submit' as const } }],
['with disabled', { props: { disabled: true } }],
['with activeClass', { props: { active: true, to: '/', activeClass: 'text-sm' } }],
['with inactiveClass', { props: { active: false, to: '/', inactiveClass: 'text-gray-300' } }]