({ tooltipRef, ...tooltipProps })
| 42 | } |
| 43 | |
| 44 | const TestTooltip = ({ tooltipRef, ...tooltipProps }) => ( |
| 45 | <> |
| 46 | <span data-tooltip-id={TOOLTIP_ID}>Hover Me</span> |
| 47 | <TooltipController id={TOOLTIP_ID} content="Removal Test" ref={tooltipRef} {...tooltipProps} /> |
| 48 | </> |
| 49 | ) |
| 50 | |
| 51 | describe('tooltip removal', () => { |
| 52 | let mutationObserverController |
nothing calls this directly
no outgoing calls
no test coverage detected