(tooltip)
| 28 | const getTooltip = () => document.getElementById(TOOLTIP_ID) |
| 29 | |
| 30 | const fireOpacityTransitionEnd = (tooltip) => { |
| 31 | const transitionEndEvent = new Event('transitionend', { bubbles: true }) |
| 32 | Object.defineProperty(transitionEndEvent, 'propertyName', { value: 'opacity' }) |
| 33 | fireEvent(tooltip, transitionEndEvent) |
| 34 | } |
| 35 | |
| 36 | const expectTooltipToShow = async (tooltip) => { |
| 37 | await waitFor(() => { |
no outgoing calls
no test coverage detected