Skip to content

Commit

Permalink
Updating test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Oct 25, 2024
1 parent 5507ae3 commit 0325534
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/framer-motion/src/motion/__tests__/variant.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -842,7 +838,6 @@ describe("animate prop as variant", () => {
})

return expect(promise).resolves.toEqual({
willChange: "transform",
x: 100,
y: 100,
})
Expand Down

0 comments on commit 0325534

Please sign in to comment.