From 9f2906699b49a58f474a712f5dd85d15ceb4601d Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Wed, 9 Apr 2025 23:23:18 -0500 Subject: [PATCH] Fix broken test --- test/abilities/healer.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/abilities/healer.test.ts b/test/abilities/healer.test.ts index 2f2e4dfa51b..efe4f651661 100644 --- a/test/abilities/healer.test.ts +++ b/test/abilities/healer.test.ts @@ -71,6 +71,8 @@ describe("Abilities - Healer", () => { expect(ally.trySetStatus(StatusEffect.BURN)).toBe(true); game.move.select(Moves.SPLASH); game.move.select(Moves.SPLASH, 1); + + await game.phaseInterceptor.to("TurnEndPhase"); await game.toNextTurn(); expect(ally.status?.effect, "status effect was not healed").toBeFalsy(); @@ -85,6 +87,7 @@ describe("Abilities - Healer", () => { expect(ally.trySetStatus(StatusEffect.BURN)).toBe(true); game.move.select(Moves.SPLASH); game.move.select(Moves.SPLASH, 1); + await game.phaseInterceptor.to("TurnEndPhase"); await game.toNextTurn(); expect(ally.status?.effect, "status effect was not healed").toBeFalsy();