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

Function clickAnchor

src/test/test-utils.js:44–48  ·  view source on GitHub ↗
(anchor, ms = 0)

Source from the content-addressed store, hash-verified

42}
43
44export function clickAnchor(anchor, ms = 0) {
45 fireWithTimers(() => {
46 fireEvent.click(anchor)
47 }, ms)
48}
49
50export async function waitForTooltip(id) {
51 await waitFor(() => {

Calls 1

fireWithTimersFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…