Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
#134 Update the snapshot to pass the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
griselmatosm committed Jul 14, 2020
1 parent 82e16da commit 78a9007
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/CheckGroup/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ exports[`Checkgroup with error 1`] = `
className="ola_field-hint"
>
(optional)
<strong />
</span>
</label>
<div
Expand All @@ -150,6 +152,8 @@ exports[`Checkgroup with error 1`] = `
className="ola_checkGroup is-column is-invalid"
disabled={false}
id="field-error"
maxLength={null}
onChange={[Function]}
role="radiogroup"
>
<label
Expand Down
20 changes: 17 additions & 3 deletions src/Field/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ exports[`Default Field 1`] = `
className="ola_input"
disabled={false}
id="test"
maxLength={null}
onChange={[Function]}
type="text"
/>
</div>
Expand All @@ -40,7 +42,7 @@ exports[`Field with character counter 1`] = `
className="ola_input"
disabled={false}
id="test"
maxLength={true}
maxLength={null}
onChange={[Function]}
type="text"
/>
Expand All @@ -65,6 +67,8 @@ exports[`Field with custom description 1`] = `
className="ola_input"
disabled={false}
id="test"
maxLength={null}
onChange={[Function]}
type="text"
/>
</div>
Expand Down Expand Up @@ -92,9 +96,11 @@ exports[`Field with custom description with error 1`] = `
className="ola_field-input"
>
<input
className="ola_input is-invalid"
className="ola_input"
disabled={false}
id="test"
maxLength={null}
onChange={[Function]}
type="text"
/>
</div>
Expand Down Expand Up @@ -125,6 +131,8 @@ exports[`Field with description 1`] = `
className="ola_input"
disabled={false}
id="test"
maxLength={null}
onChange={[Function]}
type="text"
/>
</div>
Expand All @@ -150,9 +158,11 @@ exports[`Field with error 1`] = `
className="ola_field-input"
>
<input
className="ola_input is-invalid"
className="ola_input"
disabled={false}
id="test"
maxLength={null}
onChange={[Function]}
type="text"
/>
</div>
Expand All @@ -172,6 +182,8 @@ exports[`Field with hint 1`] = `
className="ola_field-hint"
>
Test hint
<strong />
</span>
</label>
<div
Expand All @@ -181,6 +193,8 @@ exports[`Field with hint 1`] = `
className="ola_input"
disabled={false}
id="test"
maxLength={null}
onChange={[Function]}
type="text"
/>
</div>
Expand Down

1 comment on commit 78a9007

@griselmatosm
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have fixed default prop types and update snapshot test

Please sign in to comment.