Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mouse over jest

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

Taken from: https://stackoverflow.com/a/64796558
 
PREVIOUS NEXT
Tagged: #mouse #jest
ADD COMMENT
Topic
Name
1+1 =