()
| 120 | test('tooltip handles invalid selector in DOM mutations', () => { |
| 121 | // Create a component with an invalid selector |
| 122 | const InvalidSelectorTest = () => { |
| 123 | return ( |
| 124 | <div> |
| 125 | <span data-tooltip-id="invalid-selector-test">Hover Me</span> |
| 126 | <TooltipController |
| 127 | id="invalid-selector-test" |
| 128 | content="Invalid Selector Test" |
| 129 | anchorSelect="[invalid-selector" |
| 130 | /> |
| 131 | </div> |
| 132 | ) |
| 133 | } |
| 134 | |
| 135 | // Render the component |
| 136 | render(<InvalidSelectorTest />) |
nothing calls this directly
no outgoing calls
no test coverage detected