(e: PromiseRejectionEvent)
| 3486 | mouseEvent.initEvent('click', true, true); |
| 3487 | |
| 3488 | const unhandledRejection = (e: PromiseRejectionEvent) => { |
| 3489 | fail('should not be here'); |
| 3490 | }; |
| 3491 | window.addEventListener('unhandledrejection', unhandledRejection); |
| 3492 | |
| 3493 | button.dispatchEvent(mouseEvent); |