Skip to content

Commit

Permalink
tests: update tests to match new functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
rkunev committed May 6, 2020
1 parent a42d243 commit c036d36
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 72 deletions.
11 changes: 11 additions & 0 deletions tests/unit/__snapshots__/index.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@

exports[`Init renders correctly 1`] = `
<div
aria-disabled="false"
aria-expanded="true"
aria-label="color picker"
aria-roledescription="radial slider"
aria-valuemax="359"
aria-valuemin="0"
aria-valuenow="0"
aria-valuetext="red"
class="rcp"
role="slider"
tabindex="0"
>
<div
Expand All @@ -26,8 +35,10 @@ exports[`Init renders correctly 1`] = `
/>
<button
aria-label="color well"
class="rcp__well"
style="background-color: hsl(0, 100%, 50%);"
tabindex="0"
type="button"
/>
</div>
Expand Down
Loading

0 comments on commit c036d36

Please sign in to comment.