From 0325534927285949c6ea39bf6a547407eeb4782b Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Fri, 25 Oct 2024 13:24:29 +0200 Subject: [PATCH] Updating test --- packages/framer-motion/src/motion/__tests__/variant.test.tsx | 5 ----- 1 file changed, 5 deletions(-) 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, })