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

Method delete

src/system/keyboard.ts:98–100  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

96 return !!this.registry[code]?.unpreventedDefault
97 }
98 delete(code: string) {
99 delete this.registry[code]
100 }
101 values() {
102 return Object.values(this.registry) as NonNullable<
103 typeof this.registry[string]

Callers 2

keyupMethod · 0.80
removePressedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected