()
| 132 | } |
| 133 | |
| 134 | useRealTimers(): void { |
| 135 | if (this._fakingDate) { |
| 136 | resetDate() |
| 137 | this._fakingDate = null |
| 138 | } |
| 139 | |
| 140 | if (this._fakingTime) { |
| 141 | this._clock.uninstall() |
| 142 | this._fakingTime = false |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | useFakeTimers(): void { |
| 147 | const fakeDate = this._fakingDate || Date.now() |
no test coverage detected