Skip to content

Commit 1912a9a

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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -459,14 +459,14 @@ describe("animate prop as variant", () => {
459459
setTimeout(() => {
460460
expect(parentOpacity.get()).toBe(1)
461461
expect(childOpacity.get()).not.toBe(1)
462-
}, 50)
462+
}, 100)
463463
}}
464464
/>
465465
)
466466
setTimeout(() => {
467467
expect(parentOpacity.get()).toBe(0)
468468
expect(childOpacity.get()).not.toBe(0)
469-
}, 50)
469+
}, 200)
470470
})
471471
})
472472

0 commit comments

Comments
 (0)