[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

View File

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