Skip to content

Commit

Permalink
[Test] Fix flaky Rage test
Browse files Browse the repository at this point in the history
  • Loading branch information
PigeonBar committed Feb 13, 2025
1 parent fac77f8 commit dafdc6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/moves/rage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dafdc6f

Please sign in to comment.