(testFn: Function)
| 3622 | xdescribe('unhandled promise rejection', () => { |
| 3623 | const AsyncTestZoneSpec = (Zone as any)['AsyncTestZoneSpec']; |
| 3624 | const asyncTest = function (testFn: Function) { |
| 3625 | return (done: Function) => { |
| 3626 | let asyncTestZone: Zone = Zone.current.fork( |
| 3627 | new AsyncTestZoneSpec( |
| 3628 | done, |
| 3629 | (error: Error) => { |
| 3630 | fail(error); |
| 3631 | }, |
| 3632 | 'asyncTest', |
| 3633 | ), |
| 3634 | ); |
| 3635 | asyncTestZone.run(testFn); |
| 3636 | }; |
| 3637 | }; |
| 3638 | |
| 3639 | it( |
| 3640 | 'should support window.addEventListener(unhandledrejection)', |
no test coverage detected
searching dependent graphs…