Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/testing-library/user-event
/ resetClickCount
Method
resetClickCount
src/system/pointer/mouse.ts:188–190 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
186
}
187
188
resetClickCount() {
189
this.clickCount.reset()
190
}
191
192
private getEventInit(
type
: EventType, button?: MouseButton) {
193
const
init: MouseEventInit = {
Callers
1
pointer
Function · 0.45
Calls
1
reset
Method · 0.45
Tested by
no test coverage detected