MCPcopy Create free account
hub / github.com/angular/angular / unhandledRejection

Function unhandledRejection

packages/zone.js/test/browser/browser.spec.ts:3488–3490  ·  view source on GitHub ↗
(e: PromiseRejectionEvent)

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 2

failFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected