[Test] Fix flaky Wimp Out test (#4830)

This commit is contained in:
NightKev 2024-11-09 10:12:22 -08:00 committed by GitHub
parent c6cc187c96
commit c54d21c313
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -296,7 +296,9 @@ describe("Abilities - Wimp Out", () => {
Species.TYRUNT
]);
game.move.select(Moves.SPLASH);
game.scene.getPlayerPokemon()!.hp *= 0.51;
game.move.select(Moves.ENDURE);
await game.phaseInterceptor.to("TurnEndPhase");
confirmNoSwitch();