MCPcopy
hub / github.com/ReactTooltip/react-tooltip / waitForTooltipToClose

Function waitForTooltipToClose

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

Source from the content-addressed store, hash-verified

55}
56
57export async function waitForTooltipToClose(id) {
58 await waitFor(() => {
59 expect(document.getElementById(id)).not.toBeInTheDocument()
60 })
61}
62
63export async function waitForTooltipToStopShowing(id) {
64 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…