mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Update protean-libero.test.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
a519995b47
commit
b3664f86b3
@ -138,7 +138,9 @@ describe("Abilities - Protean/Libero", () => {
|
|||||||
game.move.use(move);
|
game.move.use(move);
|
||||||
await game.move.forceEnemyMove(enemyMove);
|
await game.move.forceEnemyMove(enemyMove);
|
||||||
await game.setTurnOrder([BattlerIndex.ENEMY, BattlerIndex.PLAYER]);
|
await game.setTurnOrder([BattlerIndex.ENEMY, BattlerIndex.PLAYER]);
|
||||||
await game.phaseInterceptor.to("BerryPhase"); // NB: berry phase = turn end tags stay = tests happy
|
// We stop before running `TurnEndPhase` so that the effects of `BattlerTag`s (such as from Electrify)
|
||||||
|
// are still active when checking the move's type
|
||||||
|
await game.phaseInterceptor.to("TurnEndPhase", false);
|
||||||
|
|
||||||
expectTypeChange(linoone);
|
expectTypeChange(linoone);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user