| 130 | } |
| 131 | |
| 132 | class FakeTimerScheduler { |
| 133 | cbs: VoidFunction[] = []; |
| 134 | add(delay: number, callback: VoidFunction) { |
| 135 | this.cbs.push(callback); |
| 136 | } |
| 137 | remove(callback: VoidFunction) { |
| 138 | /* noop */ |
| 139 | } |
| 140 | |
| 141 | invoke() { |
| 142 | for (const cb of this.cbs) { |
| 143 | cb(); |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | @Injectable() |
| 149 | export class DebugConsole extends Console { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…