mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 14:52:19 +02:00
Fix select-modifier-phase test
This commit is contained in:
parent
6a24ce07c8
commit
dde7a85ce1
@ -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