Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Jan 8, 2025
1 parent 7991e28 commit 95e7c52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/react/src/menu/positioner/MenuPositioner.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ describe('<Menu.Positioner />', () => {

describeConformance(<Menu.Positioner />, () => ({
render: (node) => {
return render(<Menu.Root open>{node}</Menu.Root>);
return render(
<Menu.Root open>
<Menu.Portal>{node}</Menu.Portal>
</Menu.Root>,
);
},
refInstanceof: window.HTMLDivElement,
}));
Expand Down

0 comments on commit 95e7c52

Please sign in to comment.