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

Method get

src/system/pointer/index.ts:26–28  ·  view source on GitHub ↗
(k: string)

Source from the content-addressed store, hash-verified

24 private registry: {[k in string]?: Device} = {}
25
26 get(k: string) {
27 return (this.registry[k] ??= new Device())
28 }
29 })()
30
31 private readonly pointers = new (class {

Callers 6

isKeyPressedMethod · 0.80
pressMethod · 0.80
moveMethod · 0.80
releaseMethod · 0.80
getPreviousPositionMethod · 0.80
setMousePositionMethod · 0.80

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected