From c919ea78cba44cae25999a3b98356c99c4fca3e2 Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Sat, 14 Jun 2025 12:54:27 -0400 Subject: [PATCH] Fixed swallow test --- test/moves/swallow.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/moves/swallow.test.ts b/test/moves/swallow.test.ts index 18ad9944349..d4ce11bbc2a 100644 --- a/test/moves/swallow.test.ts +++ b/test/moves/swallow.test.ts @@ -40,7 +40,7 @@ describe("Moves - Swallow", () => { { stackCount: 2, healPercent: 50 }, { stackCount: 3, healPercent: 100 }, ])( - "should heal the user by $healPercent% when consuming $count stockpile stacks", + "should heal the user by $healPercent% max HP when consuming $count stockpile stacks", async ({ stackCount, healPercent }) => { await game.classicMode.startBattle([SpeciesId.SWALOT]); @@ -120,7 +120,7 @@ describe("Moves - Swallow", () => { [Stat.SPDEF]: 2, }; - game.move.select(MoveId.SWALLOW); + game.move.use(MoveId.SWALLOW); await game.toEndOfTurn(); expect(pokemon.getLastXMoves()[0]).toMatchObject({