()
| 180 | test('tooltip handles event cleanup on unmount', () => { |
| 181 | // Create a component that we'll unmount |
| 182 | const CleanupTest = () => { |
| 183 | return ( |
| 184 | <div> |
| 185 | <span data-tooltip-id="cleanup-test">Hover Me</span> |
| 186 | <TooltipController id="cleanup-test" content="Cleanup Test" /> |
| 187 | </div> |
| 188 | ) |
| 189 | } |
| 190 | |
| 191 | // Render the component |
| 192 | const { unmount } = render(<CleanupTest />) |
nothing calls this directly
no outgoing calls
no test coverage detected