Use toEndOfTurn() instead of to("BerryPhase") in powder.test.ts

This commit is contained in:
NightKev 2025-06-09 20:46:53 -07:00
parent 9c99d42aa5
commit 93767f1550

View File

@ -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);