Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/testing-library/user-event
/ setMousePosition
Method
setMousePosition
src/system/pointer/index.ts:201–204 ·
view source on GitHub ↗
(position: PointerPosition)
Source
from the content-addressed store, hash-verified
199
}
200
201
setMousePosition(position: PointerPosition) {
202
this.mouse.position = position
203
this.pointers.get(
'mouse'
).position = position
204
}
205
}
Callers
1
unhover
Function · 0.80
Calls
1
get
Method · 0.80
Tested by
no test coverage detected