Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
44
export
function
clickAnchor(anchor, ms = 0) {
45
fireWithTimers(() => {
46
fireEvent.click(anchor)
47
}, ms)
48
}
49
50
export
async
function
waitForTooltip(id) {
51
await
waitFor(() => {
Callers
1
tooltip-controlled-and-ref.spec.js
File · 0.90
Calls
1
fireWithTimers
Function · 0.85
Tested by
no test coverage detected