mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Fixed test again
This commit is contained in:
parent
2348da421d
commit
178abdf1b5
@ -139,7 +139,8 @@ describe("Move - Wish", () => {
|
|||||||
// account for phase interceptor stopping _after_ the first PokemonHealPhase is started
|
// account for phase interceptor stopping _after_ the first PokemonHealPhase is started
|
||||||
// TODO: Remove in phase-interceptor PR (intentionally will fail if not removed)
|
// TODO: Remove in phase-interceptor PR (intentionally will fail if not removed)
|
||||||
expect(game).toBeAtPhase("PokemonHealPhase");
|
expect(game).toBeAtPhase("PokemonHealPhase");
|
||||||
expect(healPhases).toHaveLength(3);
|
healPhases.unshift(game.scene.phaseManager.getCurrentPhase());
|
||||||
|
expect(healPhases).toHaveLength(4);
|
||||||
expect(healPhases.map(php => php.getPokemon())).toEqual(oldOrder);
|
expect(healPhases.map(php => php.getPokemon())).toEqual(oldOrder);
|
||||||
|
|
||||||
await game.toEndOfTurn();
|
await game.toEndOfTurn();
|
||||||
|
Loading…
Reference in New Issue
Block a user