()
| 277 | |
| 278 | // For tests only. |
| 279 | static reset() { |
| 280 | for (const mode of this.modes) { |
| 281 | mode.exit(); |
| 282 | } |
| 283 | this.modes = []; |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | // If Mode.debug is true, then we generate a trace of modes being activated and deactivated on the |
no test coverage detected