Tikus over Jest

fireEvent.mouseOver(screen.getByText('bottomLeft'));
await waitFor(() => screen.getByTestId('dropdown-menu'))

Taken from: https://stackoverflow.com/a/64796558
Powerful Peafowl