Skip to content

Commit 8319c56

Browse files
committed
Updating test
1 parent b71c172 commit 8319c56

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,6 +1404,9 @@ describe("animate prop as variant", () => {
14041404

14051405
const { rerender } = render(<Component items={["1", "2"]} />)
14061406

1407+
await nextFrame()
1408+
await nextFrame()
1409+
await nextFrame()
14071410
await nextFrame()
14081411

14091412
rerender(<Component items={["1", "2", "3", "4", "5"]} />)
@@ -1414,6 +1417,10 @@ describe("animate prop as variant", () => {
14141417
await nextFrame()
14151418
await nextFrame()
14161419
await nextFrame()
1420+
await nextFrame()
1421+
await nextFrame()
1422+
await nextFrame()
1423+
await nextFrame()
14171424

14181425
const elements = document.querySelectorAll(".item")
14191426

0 commit comments

Comments
 (0)