Skip to content

Commit

Permalink
Revert increased timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Oct 21, 2024
1 parent 98ed960 commit 26a4fbb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/mui-base/src/Menu/Root/MenuRoot.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -580,12 +580,9 @@ describe('<Menu.Root />', () => {
const menuItem = getByRole('menuitem');
await user.click(menuItem);

await waitFor(
() => {
expect(button).toHaveFocus();
},
{ timeout: 2000 },
);
await waitFor(() => {
expect(button).toHaveFocus();
});
});
});

Expand Down

0 comments on commit 26a4fbb

Please sign in to comment.