MCPcopy Create free account
hub / github.com/testing-library/user-event / getTarget

Method getTarget

src/system/pointer/pointer.ts:136–138  ·  view source on GitHub ↗
(instance: Instance)

Source from the content-addressed store, hash-verified

134 }
135
136 private getTarget(instance: Instance) {
137 return this.position.target ?? instance.config.document.body
138 }
139
140 private getEventInit(
141 /**

Callers 5

initMethod · 0.95
moveMethod · 0.95
downMethod · 0.95
upMethod · 0.95
releaseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected