mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-08 00:19:29 +02:00
Deleted duplicate sturdy test case
This commit is contained in:
parent
a9a3b0760a
commit
3db1cb7486
@ -61,16 +61,4 @@ describe("Abilities - Sturdy", () => {
|
||||
const enemyPokemon = game.field.getEnemyPokemon();
|
||||
expect(enemyPokemon.isFullHp()).toBe(true);
|
||||
});
|
||||
|
||||
test("Sturdy is ignored by pokemon with `AbilityId.MOLD_BREAKER`", async () => {
|
||||
game.override.ability(AbilityId.MOLD_BREAKER);
|
||||
|
||||
await game.classicMode.startBattle();
|
||||
game.move.select(MoveId.CLOSE_COMBAT);
|
||||
await game.phaseInterceptor.to(DamageAnimPhase);
|
||||
|
||||
const enemyPokemon = game.field.getEnemyPokemon();
|
||||
expect(enemyPokemon.hp).toBe(0);
|
||||
expect(enemyPokemon.isFainted()).toBe(true);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user