()
| 1010 | } |
| 1011 | |
| 1012 | function _getFakeAsyncZoneSpec(): any { |
| 1013 | if (_fakeAsyncTestZoneSpec == null) { |
| 1014 | _fakeAsyncTestZoneSpec = Zone.current.get('FakeAsyncTestZoneSpec'); |
| 1015 | if (_fakeAsyncTestZoneSpec == null) { |
| 1016 | throw new Error('The code should be running in the fakeAsync zone to call this function'); |
| 1017 | } |
| 1018 | } |
| 1019 | return _fakeAsyncTestZoneSpec; |
| 1020 | } |
| 1021 | |
| 1022 | /** |
| 1023 | * Simulates the asynchronous passage of time for the timers in the fakeAsync zone. |
no test coverage detected
searching dependent graphs…