Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CooperHash committed Mar 22, 2024
1 parent 221f620 commit b67ba63
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions components/popover/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,8 @@ describe('Popover', () => {
const onOpenChange = jest.fn((e?: any) => {
e?.persist?.();
});
const content = (
<div>
<p>Content</p>
<p>Content</p>
</div>
);
const wrapper = render(
<Popover content={content} title="Title" trigger="click" onOpenChange={onOpenChange}>
<Popover title="Title" trigger="click" onOpenChange={onOpenChange}>
<span>Delete</span>
</Popover>,
);
Expand Down

0 comments on commit b67ba63

Please sign in to comment.