(Zone: ZoneType)
| 11 | import {ZoneType} from '../zone-impl'; |
| 12 | |
| 13 | export function patchRxJsFakeAsync(Zone: ZoneType): void { |
| 14 | Zone.__load_patch('rxjs.Scheduler.now', (global: any, Zone: ZoneType, api: _ZonePrivate) => { |
| 15 | api.patchMethod(Scheduler, 'now', (delegate: Function) => (self: any, args: any[]) => { |
| 16 | return Date.now.call(self); |
| 17 | }); |
| 18 | api.patchMethod(asyncScheduler, 'now', (delegate: Function) => (self: any, args: any[]) => { |
| 19 | return Date.now.call(self); |
| 20 | }); |
| 21 | api.patchMethod(asapScheduler, 'now', (delegate: Function) => (self: any, args: any[]) => { |
| 22 | return Date.now.call(self); |
| 23 | }); |
| 24 | }); |
| 25 | } |
no test coverage detected
searching dependent graphs…