diff --git a/packages/framer-motion/src/motion/__tests__/variant.test.tsx b/packages/framer-motion/src/motion/__tests__/variant.test.tsx index fc69f46513..e9b20a3b6e 100644 --- a/packages/framer-motion/src/motion/__tests__/variant.test.tsx +++ b/packages/framer-motion/src/motion/__tests__/variant.test.tsx @@ -817,11 +817,7 @@ describe("animate prop as variant", () => { const promise = new Promise((resolve) => { let latest = {} - let frameCount = 0 - const onUpdate = (l: { [key: string]: number | string }) => { - frameCount++ - if (frameCount === 2) expect(l.willChange).toBe("transform") latest = l } @@ -842,7 +838,6 @@ describe("animate prop as variant", () => { }) return expect(promise).resolves.toEqual({ - willChange: "transform", x: 100, y: 100, })