(props)
| 319 | |
| 320 | it('should trigger onHoverEnd after an element is removed', async function () { |
| 321 | function Test(props) { |
| 322 | let {hoverProps, isHovered} = useHover(props); |
| 323 | return ( |
| 324 | <div {...hoverProps} data-testid="test" data-hovered={isHovered || undefined}> |
| 325 | {props.children} |
| 326 | </div> |
| 327 | ); |
| 328 | } |
| 329 | |
| 330 | function Inner() { |
| 331 | let [show, setShow] = useState(true); |
nothing calls this directly
no test coverage detected