Skip to content

Commit

Permalink
Fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Mar 20, 2024
1 parent 17e7166 commit 2ec5172
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/framer-motion/cypress/integration/waapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ describe("waapi", () => {
.wait(200)
.should(([$element]: any) => {
expect(getComputedStyle($element).opacity).not.to.equal("1")
expect($element.getBoundingClientRect().width).not.to.equal(100)
expect(
Math.floor($element.getBoundingClientRect().width)
).not.to.equal(100)
})
})
})

0 comments on commit 2ec5172

Please sign in to comment.