Fixed test again

This commit is contained in:
Bertie690 2025-09-21 19:00:15 -04:00
parent 2348da421d
commit 178abdf1b5

View File

@ -139,7 +139,8 @@ describe("Move - Wish", () => {
// account for phase interceptor stopping _after_ the first PokemonHealPhase is started // account for phase interceptor stopping _after_ the first PokemonHealPhase is started
// TODO: Remove in phase-interceptor PR (intentionally will fail if not removed) // TODO: Remove in phase-interceptor PR (intentionally will fail if not removed)
expect(game).toBeAtPhase("PokemonHealPhase"); 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); expect(healPhases.map(php => php.getPokemon())).toEqual(oldOrder);
await game.toEndOfTurn(); await game.toEndOfTurn();