mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Apply suggestions from code review
Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com>
This commit is contained in:
parent
75f4a0aa0f
commit
d32d7dcf33
@ -637,6 +637,7 @@ describe("Abilities - Wimp Out", () => {
|
||||
game.override
|
||||
.enemyMoveset(Moves.SPLASH)
|
||||
.enemySpecies(Species.WIMPOD)
|
||||
.enemyAbility(Abilities.WIMP_OUT)
|
||||
.moveset([ Moves.MATCHA_GOTCHA, Moves.FALSE_SWIPE ])
|
||||
.startingLevel(50)
|
||||
.enemyLevel(1)
|
||||
@ -650,6 +651,7 @@ describe("Abilities - Wimp Out", () => {
|
||||
|
||||
game.move.select(Moves.FALSE_SWIPE, 0, BattlerIndex.ENEMY);
|
||||
game.move.select(Moves.MATCHA_GOTCHA, 1);
|
||||
await game.setTurnOrder([BattlerIndex.PLAYER, BattlerIndex.PLAYER_2, BattlerIndex.ENEMY, BattlerIndex.ENEMY_2]);
|
||||
await game.phaseInterceptor.to("TurnEndPhase");
|
||||
|
||||
expect(wimpod0.hp).toBeGreaterThan(0);
|
||||
|
Loading…
Reference in New Issue
Block a user