From 178abdf1b50a7dba58dce92dda4c689c9cbb4623 Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Sun, 21 Sep 2025 19:00:15 -0400 Subject: [PATCH] Fixed test again --- test/moves/wish.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/moves/wish.test.ts b/test/moves/wish.test.ts index 7d13dfe073b..e9d6eb300c2 100644 --- a/test/moves/wish.test.ts +++ b/test/moves/wish.test.ts @@ -139,7 +139,8 @@ describe("Move - Wish", () => { // account for phase interceptor stopping _after_ the first PokemonHealPhase is started // TODO: Remove in phase-interceptor PR (intentionally will fail if not removed) expect(game).toBeAtPhase("PokemonHealPhase"); - expect(healPhases).toHaveLength(3); + healPhases.unshift(game.scene.phaseManager.getCurrentPhase()); + expect(healPhases).toHaveLength(4); expect(healPhases.map(php => php.getPokemon())).toEqual(oldOrder); await game.toEndOfTurn();