Remove redundant portions of the tests

This commit is contained in:
Sirz Benjie 2025-04-09 23:13:16 -05:00
parent 985e3b3067
commit dda7371740
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -71,9 +71,6 @@ describe("Abilities - Healer", () => {
expect(ally.trySetStatus(StatusEffect.BURN)).toBe(true); expect(ally.trySetStatus(StatusEffect.BURN)).toBe(true);
game.move.select(Moves.SPLASH); game.move.select(Moves.SPLASH);
game.move.select(Moves.SPLASH, 1); game.move.select(Moves.SPLASH, 1);
await game.forceEnemyMove(Moves.SPLASH);
expect(ally.status?.effect).toBe(StatusEffect.BURN);
// Give the ally a status
await game.toNextTurn(); await game.toNextTurn();
expect(ally.status?.effect, "status effect was not healed").toBeFalsy(); expect(ally.status?.effect, "status effect was not healed").toBeFalsy();
@ -88,9 +85,6 @@ describe("Abilities - Healer", () => {
expect(ally.trySetStatus(StatusEffect.BURN)).toBe(true); expect(ally.trySetStatus(StatusEffect.BURN)).toBe(true);
game.move.select(Moves.SPLASH); game.move.select(Moves.SPLASH);
game.move.select(Moves.SPLASH, 1); game.move.select(Moves.SPLASH, 1);
await game.forceEnemyMove(Moves.SPLASH);
expect(ally.status?.effect).toBe(StatusEffect.BURN);
// Give the ally a status
await game.toNextTurn(); await game.toNextTurn();
expect(ally.status?.effect, "status effect was not healed").toBeFalsy(); expect(ally.status?.effect, "status effect was not healed").toBeFalsy();