Skip to content

Commit

Permalink
test: fix fillParent test
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Apr 10, 2024
1 parent 6630b4f commit 86e9cac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-view-slider",
"version": "0.0.0-development",
"version": "4.6.1",
"description": "animates horizontal slide transitions between steps of a wizard or levels of a drilldown",
"sideEffects": false,
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ describe('ViewSlider', () => {
}

expectHasFillStyle(root)
expectHasFillStyle(viewport)
expect(viewport.style.position).to.equal('relative')
expect(viewport.style.height).to.equal('100%')
expectHasFillStyle(views[0].parentElement.parentElement, '0%')

comp.rerender(
Expand Down

0 comments on commit 86e9cac

Please sign in to comment.