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