Skip to content

Commit

Permalink
test(sbb-time-input): add size 's' visual spec
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMenga committed Aug 26, 2024
1 parent 480f3e9 commit f11a455
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/elements/time-input/time-input.visual.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ describe(`sbb-time-input`, () => {
disabled?: boolean;
};
const template = (args: Partial<ParamsType>): TemplateResult => html`
<sbb-form-field ?borderless=${args.borderless} ?negative=${args.negative} width="collapse">
<sbb-form-field
?borderless=${args.borderless}
?negative=${args.negative}
size=${args.size || nothing}
width="collapse"
>
<label>Label</label>
${!args.noIcons ? html`<sbb-icon slot="prefix" name="clock-small"></sbb-icon>` : nothing}
<sbb-time-input></sbb-time-input>
Expand Down

0 comments on commit f11a455

Please sign in to comment.