({ id, ...tooltipParams })
| 7 | jest.useRealTimers() |
| 8 | |
| 9 | const TooltipProps = ({ id, ...tooltipParams }) => ( |
| 10 | <> |
| 11 | <span data-tooltip-id={id}>Lorem Ipsum</span> |
| 12 | <Tooltip id={id} {...tooltipParams} /> |
| 13 | </> |
| 14 | ) |
| 15 | |
| 16 | describe('tooltip props', () => { |
| 17 | test('tooltip without element reference', async () => { |
nothing calls this directly
no outgoing calls
no test coverage detected