mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 00:52:47 +02:00
Fixed test
This commit is contained in:
parent
cc3c68d3b6
commit
470e7adce0
@ -89,7 +89,7 @@ describe("Abilities - Sap Sipper", () => {
|
||||
const enemy = game.field.getEnemyPokemon();
|
||||
|
||||
game.move.use(MoveId.BULLET_SEED);
|
||||
await game.toNextTurn();
|
||||
await game.toEndOfTurn();
|
||||
|
||||
expect(enemy.hp).toBe(enemy.getMaxHp());
|
||||
expect(enemy.getStatStage(Stat.ATK)).toBe(1);
|
||||
@ -99,7 +99,7 @@ describe("Abilities - Sap Sipper", () => {
|
||||
await game.toEndOfTurn();
|
||||
|
||||
expect(enemy.hp).toBe(enemy.getMaxHp());
|
||||
expect(enemy.getStatStage(Stat.ATK)).toBe(1);
|
||||
expect(enemy.getStatStage(Stat.ATK)).toBe(2);
|
||||
expect(player.turnData.hitCount).toBe(1);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user