mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-01 05:52:17 +02:00
Use toEndOfTurn()
instead of to("BerryPhase")
in powder.test.ts
This commit is contained in:
parent
9c99d42aa5
commit
93767f1550
@ -169,7 +169,7 @@ describe("Moves - Powder", () => {
|
||||
await game.phaseInterceptor.to("MoveEffectPhase");
|
||||
const enemyStartingHp = enemyPokemon.hp;
|
||||
|
||||
await game.phaseInterceptor.to("BerryPhase");
|
||||
await game.toEndOfTurn();
|
||||
|
||||
// player should not take damage
|
||||
expect(enemyPokemon.getLastXMoves()[0].result).toBe(MoveResult.FAIL);
|
||||
|
Loading…
Reference in New Issue
Block a user