diff --git a/src/phase-manager.ts b/src/phase-manager.ts index 4dfb1a1176f..2c7bb8c61fc 100644 --- a/src/phase-manager.ts +++ b/src/phase-manager.ts @@ -378,10 +378,6 @@ export class PhaseManager { // Bang is justified as `populatePhaseQueue` ensures we always have _something_ in the queue at all times this.currentPhase = this.phaseQueue.shift()!; - // TODO: Remove proof-of-concept error throw after test suite passes - if (!this.currentPhase) { - throw new Error("currentPhase was null after being started!"); - } const unactivatedConditionalPhases: [() => boolean, Phase][] = []; // Check if there are any conditional phases queued