MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / TestTooltip

Function TestTooltip

src/test/tooltip-removal.spec.js:44–49  ·  view source on GitHub ↗
({ tooltipRef, ...tooltipProps })

Source from the content-addressed store, hash-verified

42}
43
44const 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
51describe('tooltip removal', () => {
52 let mutationObserverController

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected