Skip to content

Commit

Permalink
[test] Fix MenuRoot flake
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Jan 30, 2025
1 parent e1eb7bd commit 0926a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/menu/root/MenuRoot.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ describe('<Menu.Root />', () => {

it('should close the menu when the trigger is no longer hovered', async () => {
const { getByRole, queryByRole } = await render(
<Menu.Root openOnHover delay={0}>
<Menu.Root openOnHover delay={0} modal={false}>
<Menu.Trigger>Open</Menu.Trigger>
<Menu.Portal>
<Menu.Positioner>
Expand Down

0 comments on commit 0926a4f

Please sign in to comment.