resetForTesting method

void resetForTesting()

Test-only reset. Never throws.

Implementation

void resetForTesting() {
  try {
    _cancelWatchdog();
  } catch (_) {}
  _onTimeout = null;
  _visible = false;
  _slot = GameLaunchSlot.free;
  _foreground = true;
}