Skip to content

Commit

Permalink
Update Grow.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
w3bdesign committed Jul 10, 2024
1 parent f8bfd83 commit 6ed609f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions __tests__/Animations/Grow.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,4 @@ describe("Grow", () => {
test("Viser children", () => {
expect(screen.getByText("Hello World")).toBeInTheDocument();
});

test("Returnerer children i motion.div element", () => {
const { container } = render(<Grow>Hello World</Grow>);
expect(container).toMatchInlineSnapshot(`
<div>
<div
data-testid="grow"
style="transform: scale(0)"
>
Hello World
</div>
</div>
`);
});
});

0 comments on commit 6ed609f

Please sign in to comment.