( target: EventTarget, init: KeyboardEventInit, )
| 29 | } |
| 30 | |
| 31 | function dispatchKeydown( |
| 32 | target: EventTarget, |
| 33 | init: KeyboardEventInit, |
| 34 | ): KeyboardEvent { |
| 35 | const event = new KeyboardEvent('keydown', { ...init, bubbles: true }) |
| 36 | target.dispatchEvent(event) |
| 37 | return event |
| 38 | } |
| 39 | |
| 40 | function dispatchKeyup( |
| 41 | target: EventTarget, |
no outgoing calls
no test coverage detected
searching dependent graphs…