mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +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 () => {
|
||||
initSceneWithoutEncounterPhase(scene, [Species.ABRA, Species.VOLCARONA]);
|
||||
const selectModifierPhase = new SelectModifierPhase();
|
||||
scene.pushPhase(selectModifierPhase);
|
||||
await game.phaseInterceptor.run(SelectModifierPhase);
|
||||
scene.unshiftPhase(selectModifierPhase);
|
||||
await game.phaseInterceptor.to(SelectModifierPhase);
|
||||
|
||||
expect(scene.ui.getMode()).to.equal(Mode.MODIFIER_SELECT);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user