MCPcopy Index your code
hub / github.com/ReactTooltip/react-tooltip / waitForTooltipToStopShowing

Function waitForTooltipToStopShowing

src/test/test-utils.js:63–68  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

61}
62
63export async function waitForTooltipToStopShowing(id) {
64 await waitFor(() => {
65 const tooltip = document.getElementById(id)
66 expect(tooltip === null || tooltip.classList.contains('react-tooltip__closing')).toBe(true)
67 })
68}
69
70export function renderTooltip({
71 id = 'test-tooltip',

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…