()
| 8 | jest.useRealTimers() |
| 9 | |
| 10 | const waitForTooltipUpdates = async () => { |
| 11 | await act(async () => { |
| 12 | await new Promise((resolve) => { |
| 13 | setTimeout(resolve, 25) |
| 14 | }) |
| 15 | }) |
| 16 | } |
| 17 | |
| 18 | const hoverAndFindTooltip = async (anchorText = 'Hover Me') => { |
| 19 | const anchorElement = screen.getByText(anchorText) |
no outgoing calls
no test coverage detected