File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/framer-motion/cypress/integration Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ test-e2e: test-nextjs test-html test-react test-react-19
9595 yarn test-playwright
9696
9797test-single : build test-mkdir
98- yarn start-server-and-test " yarn dev-server" http://localhost:9990 " cd packages/framer-motion && cypress run --headless --spec cypress/integration/drag .ts"
98+ yarn start-server-and-test " yarn dev-server" http://localhost:9990 " cd packages/framer-motion && cypress run --headless --spec cypress/integration/scroll .ts"
9999
100100
101101lint : bootstrap
Original file line number Diff line number Diff line change @@ -209,9 +209,9 @@ describe("scroll() animation", () => {
209209 expect ( animateMainThreadDefaultBounds . left ) . to . equal (
210210 animateDefaultBounds . left
211211 )
212- expect ( animateMainThreadEaseOutBounds . left ) . to . equal (
213- animateEaseOutBounds . left
214- )
212+ expect (
213+ Math . round ( animateMainThreadEaseOutBounds . left )
214+ ) . to . equal ( Math . round ( animateEaseOutBounds . left ) )
215215
216216 // Skipping as env doesn't support linear() easing
217217 // expect(miniSpringBounds.left).to.equal(animateSpringBounds.left)
You can’t perform that action at this time.
0 commit comments