Skip to content

Commit 7673224

Browse files
author
Belinda Teh
committed
more test timeouts
1 parent f2addee commit 7673224

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/framer-motion/cypress/integration/animate-style.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe("animateMini()", () => {
2121

2222
it("pause() correctly pauses the animation", () => {
2323
cy.visit("?test=animate-style-pause")
24-
.wait(200)
24+
.wait(400)
2525
.get("#box")
2626
.should(([$element]: any) => {
2727
expect($element.getBoundingClientRect().width).not.to.equal(100)

packages/framer-motion/src/motion/__tests__/variant.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ describe("animate prop as variant", () => {
466466
setTimeout(() => {
467467
expect(parentOpacity.get()).toBe(0)
468468
expect(childOpacity.get()).not.toBe(0)
469-
}, 50)
469+
}, 100)
470470
})
471471
})
472472

0 commit comments

Comments
 (0)