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

Function waitForTooltip

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

Source from the content-addressed store, hash-verified

48}
49
50export async function waitForTooltip(id) {
51 await waitFor(() => {
52 expect(document.getElementById(id)).toBeInTheDocument()
53 })
54 return document.getElementById(id)
55}
56
57export async function waitForTooltipToClose(id) {
58 await waitFor(() => {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…