mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
Fix leftovers.test.ts
Thing was waiting till end of turn but heal happened after
This commit is contained in:
parent
1529fd9329
commit
b001496035
@ -54,7 +54,7 @@ describe("Items - Leftovers", () => {
|
||||
const leadHpAfterDamage = leadPokemon.hp;
|
||||
|
||||
// Check if leftovers heal us
|
||||
await game.phaseInterceptor.to(TurnEndPhase);
|
||||
await game.toNextTurn();
|
||||
expect(leadPokemon.hp).toBeGreaterThan(leadHpAfterDamage);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user