Fix select-modifier-phase test

This commit is contained in:
Sirz Benjie 2025-03-27 11:27:49 -05:00
parent 6a24ce07c8
commit dde7a85ce1
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -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);
});