From dafdc6f6a8815003705cd419501024d7a140da8d Mon Sep 17 00:00:00 2001 From: PigeonBar <56974298+PigeonBar@users.noreply.github.com> Date: Thu, 13 Feb 2025 18:20:42 -0500 Subject: [PATCH] [Test] Fix flaky Rage test --- test/moves/rage.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/moves/rage.test.ts b/test/moves/rage.test.ts index 6761b2f5f..3ee2ac430 100644 --- a/test/moves/rage.test.ts +++ b/test/moves/rage.test.ts @@ -37,6 +37,7 @@ describe("Moves - Rage", () => { it("Rage should increase the user's attack by 1 for each time they are hit", async () => { await game.classicMode.startBattle([Species.BLISSEY]); const playerPokemon = game.field.getPlayerPokemon(); + playerPokemon.setStatStage(Stat.DEF, 6); // Prevents Blissey from fainting due to its low Defense stat game.move.select(MoveId.RAGE, 0, BattlerIndex.ENEMY); await game.move.forceEnemyMove(MoveId.TRIPLE_AXEL); // Should give +3