Skip to content

Commit

Permalink
Add snapshots for Warning Button tests. (#12202)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal authored Jun 6, 2017
1 parent 8379729 commit 13681d3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ui_framework/components/button/__snapshots__/button.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ exports[`KuiButton Props buttonType primary renders the primary class 1`] = `
</button>
`;

exports[`KuiButton Props buttonType warning renders the warning class 1`] = `
<button
class="kuiButton kuiButton--warning"
>
<span
class="kuiButton__inner"
/>
</button>
`;

exports[`KuiButton Props children is rendered 1`] = `
<button
class="kuiButton"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ exports[`KuiLinkButton Props buttonType primary renders the primary class 1`] =
</a>
`;

exports[`KuiLinkButton Props buttonType warning renders the warning class 1`] = `
<a
class="kuiButton kuiButton--warning"
>
<span
class="kuiButton__inner"
/>
</a>
`;

exports[`KuiLinkButton Props children is rendered 1`] = `
<a
class="kuiButton"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ exports[`KuiSubmitButton Props buttonType primary renders the primary class 1`]
/>
`;

exports[`KuiSubmitButton Props buttonType warning renders the warning class 1`] = `
<input
class="kuiButton kuiButton--warning"
type="submit"
/>
`;

exports[`KuiSubmitButton Props children is rendered as value 1`] = `
<input
class="kuiButton"
Expand Down

0 comments on commit 13681d3

Please sign in to comment.