From 36d811e30216bbb41d29f4cdae4825daa09344cc Mon Sep 17 00:00:00 2001 From: Bertie690 <136088738+Bertie690@users.noreply.github.com> Date: Fri, 6 Jun 2025 11:39:16 -0400 Subject: [PATCH] Fix id check syrup bomb test Wasn't running phase due to being a turn end effect --- test/field/pokemon-id-checks.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/field/pokemon-id-checks.test.ts b/test/field/pokemon-id-checks.test.ts index 67907acbb6d..3335fb849bc 100644 --- a/test/field/pokemon-id-checks.test.ts +++ b/test/field/pokemon-id-checks.test.ts @@ -76,7 +76,7 @@ describe("Field - Pokemon ID Checks", () => { // Player uses Thief and steals the opponent's item game.move.select(MoveId.THIEF); - await game.phaseInterceptor.to("TurnEndPhase"); + await game.toNextTurn(); expect(enemy.getHeldItems()).toHaveLength(0); expect(player.getHeldItems()).toHaveLength(1); @@ -94,7 +94,7 @@ describe("Field - Pokemon ID Checks", () => { expect(enemy.getTag(BattlerTagType.SYRUP_BOMB)).toBeUndefined(); game.move.select(MoveId.SYRUP_BOMB); - await game.phaseInterceptor.to("TurnEndPhase"); + await game.toNextTurn(); const syrupTag = enemy.getTag(BattlerTagType.SYRUP_BOMB)!; expect(syrupTag).toBeDefined();