Specific fix for select-modifier-phase.test.ts

This commit is contained in:
Michael Li 2025-01-10 16:57:42 -05:00 committed by Sirz Benjie
parent afbab9787c
commit 7bf7cb527a
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);
});