Skip to content

Commit

Permalink
input: Update the test for number input component
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengYanJin committed Jan 8, 2021
1 parent f06126a commit 9562f6b
Showing 1 changed file with 3 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,10 @@ exports[`Storyshots Input Default 1`] = `
<h3
className="sc-dnqmqq lgiIQQ"
>
Number Input
Number Input (Max 100)
</h3>
<div
className="sc-ifAKCX sKzsc sc-input"
className="sc-ifAKCX gLSGkv sc-input"
type="number"
>
<div
Expand Down Expand Up @@ -440,52 +440,7 @@ exports[`Storyshots Input Default 1`] = `
/>
</div>
</div>
</div>
</div>
<h3
className="sc-dnqmqq lgiIQQ"
>
Number Input with error
</h3>
<div
className="sc-ifAKCX kqgMrq sc-input"
type="number"
>
<div
className="sc-gzVnrw kvhoeX sc-input-wrapper"
>
<div
className="sc-number-input-wrapper"
>
<input
className="sc-input-type sc-number-input"
id="id9"
max="100"
min="0"
onChange={[Function]}
type="number"
value={1}
/>
<div
className="carets-wrapper"
>
<i
className="fas fa-caret-up"
data-core="up"
onClick={[Function]}
/>
<i
className="fas fa-caret-down"
data-core="down"
onClick={[Function]}
/>
</div>
</div>
<span
className="sc-bZQynM iZyYwj sc-input-error"
>
error
</span>
</div>
</div>
</div>
Expand Down

0 comments on commit 9562f6b

Please sign in to comment.