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

Function hoverAnchor

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

Source from the content-addressed store, hash-verified

30}
31
32export function hoverAnchor(anchor, ms = 0) {
33 fireWithTimers(() => {
34 fireEvent.mouseEnter(anchor)
35 }, ms)
36}
37
38export function unhoverAnchor(anchor, ms = 0) {
39 fireWithTimers(() => {

Calls 1

fireWithTimersFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…