Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

test: pass motion fixture children as React arguments

Louis Beaumont67f8fdf82223
diff --git a/apps/screenpipe-app-tauri/lib/__tests__/motion-lifecycle.test.ts b/apps/screenpipe-app-tauri/lib/__tests__/motion-lifecycle.test.ts
index ad36d891d..cffb38095 100644
--- a/apps/screenpipe-app-tauri/lib/__tests__/motion-lifecycle.test.ts
+++ b/apps/screenpipe-app-tauri/lib/__tests__/motion-lifecycle.test.ts
@@ -80,8 +80,7 @@ describe.each([["ESM", motionEsm], ["CJS", motionCjs]] as const)("%s motion life
animate: { opacity },
transition: { duration: 0 },
whileHover: { opacity: 0.5 },
- children: "Animated content",
- });
+ }, "Animated content");
const { rerender, unmount, getByText } = render(view(1));
expect(getByText("Animated content")).toBeInTheDocument();
withInheritedEntry(() => {