mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 10:42:25 +02:00
Specific fix for select-modifier-phase.test.ts
This commit is contained in:
parent
afbab9787c
commit
7bf7cb527a
@ -48,8 +48,8 @@ describe("SelectModifierPhase", () => {
|
|||||||
it("should start a select modifier phase", async () => {
|
it("should start a select modifier phase", async () => {
|
||||||
initSceneWithoutEncounterPhase(scene, [ Species.ABRA, Species.VOLCARONA ]);
|
initSceneWithoutEncounterPhase(scene, [ Species.ABRA, Species.VOLCARONA ]);
|
||||||
const selectModifierPhase = new SelectModifierPhase();
|
const selectModifierPhase = new SelectModifierPhase();
|
||||||
scene.pushPhase(selectModifierPhase);
|
scene.unshiftPhase(selectModifierPhase);
|
||||||
await game.phaseInterceptor.run(SelectModifierPhase);
|
await game.phaseInterceptor.to(SelectModifierPhase);
|
||||||
|
|
||||||
expect(scene.ui.getMode()).to.equal(Mode.MODIFIER_SELECT);
|
expect(scene.ui.getMode()).to.equal(Mode.MODIFIER_SELECT);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user