(testFn: Function)
| 3689 | xdescribe('unhandled promise rejection', () => { |
| 3690 | const AsyncTestZoneSpec = (Zone as any)['AsyncTestZoneSpec']; |
| 3691 | const asyncTest = function (testFn: Function) { |
| 3692 | return (done: Function) => { |
| 3693 | let asyncTestZone: Zone = Zone.current.fork( |
| 3694 | new AsyncTestZoneSpec( |
| 3695 | done, |
| 3696 | (error: Error) => { |
| 3697 | fail(error); |
| 3698 | }, |
| 3699 | 'asyncTest', |
| 3700 | ), |
| 3701 | ); |
| 3702 | asyncTestZone.run(testFn); |
| 3703 | }; |
| 3704 | }; |
| 3705 | |
| 3706 | it( |
| 3707 | 'should support window.addEventListener(unhandledrejection)', |
no test coverage detected