diff --git a/test/components/Input.spec.ts b/test/components/Input.spec.ts index 72d82699..e9795ab7 100644 --- a/test/components/Input.spec.ts +++ b/test/components/Input.spec.ts @@ -19,6 +19,7 @@ describe('Input', () => { ['with placeholder', { props: { placeholder: 'Search...' } }], ['with disabled', { props: { disabled: true } }], ['with required', { props: { required: true } }], + ['with file type', { props: { type: 'file' } }], ['with icon', { props: { icon: 'i-heroicons-magnifying-glass' } }], ['with leading and icon', { props: { leading: true, icon: 'i-heroicons-magnifying-glass' } }], ['with leadingIcon', { props: { leadingIcon: 'i-heroicons-magnifying-glass' } }], diff --git a/test/components/__snapshots__/Input.spec.ts.snap b/test/components/__snapshots__/Input.spec.ts.snap index f5125eba..5137238e 100644 --- a/test/components/__snapshots__/Input.spec.ts.snap +++ b/test/components/__snapshots__/Input.spec.ts.snap @@ -21,6 +21,13 @@ exports[`Input > renders with disabled correctly 1`] = ` " `; +exports[`Input > renders with file type correctly 1`] = ` +"
+ + +
" +`; + exports[`Input > renders with gray variant ghost correctly 1`] = ` "