()
| 34 | const resolvedPromise = Promise.resolve(null); |
| 35 | |
| 36 | function logOnError() { |
| 37 | _zone.onError.subscribe({ |
| 38 | next: (error: any) => { |
| 39 | // Error handler should run outside of the Angular zone. |
| 40 | NgZone.assertNotInAngularZone(); |
| 41 | _errors.push(error); |
| 42 | _traces.push(error.stack); |
| 43 | }, |
| 44 | }); |
| 45 | } |
| 46 | |
| 47 | function logOnUnstable() { |
| 48 | _zone.onUnstable.subscribe({next: _log.fn('onUnstable')}); |
no test coverage detected
searching dependent graphs…