diff --git a/src/test/abilities/mycelium_might.test.ts b/src/test/abilities/mycelium_might.test.ts index f2e15a383a5..e5f3baf8c6a 100644 --- a/src/test/abilities/mycelium_might.test.ts +++ b/src/test/abilities/mycelium_might.test.ts @@ -1,5 +1,4 @@ import { BattleStat } from "#app/data/battle-stat"; -import { EnemyCommandPhase } from "#app/phases/enemy-command-phase"; import { TurnEndPhase } from "#app/phases/turn-end-phase"; import { TurnStartPhase } from "#app/phases/turn-start-phase"; import { Abilities } from "#enums/abilities"; @@ -50,7 +49,7 @@ describe("Abilities - Mycelium Might", () => { game.move.select(Moves.BABY_DOLL_EYES); - await game.phaseInterceptor.run(EnemyCommandPhase); + await game.phaseInterceptor.to(TurnStartPhase, false); const phase = game.scene.getCurrentPhase() as TurnStartPhase; const speedOrder = phase.getSpeedOrder(); const commandOrder = phase.getCommandOrder(); @@ -94,7 +93,7 @@ describe("Abilities - Mycelium Might", () => { game.move.select(Moves.QUICK_ATTACK); - await game.phaseInterceptor.run(EnemyCommandPhase); + await game.phaseInterceptor.run(TurnStartPhase, false); const phase = game.scene.getCurrentPhase() as TurnStartPhase; const speedOrder = phase.getSpeedOrder(); const commandOrder = phase.getCommandOrder(); diff --git a/src/test/abilities/stall.test.ts b/src/test/abilities/stall.test.ts index 027b73cfbab..2dd02aba541 100644 --- a/src/test/abilities/stall.test.ts +++ b/src/test/abilities/stall.test.ts @@ -5,7 +5,6 @@ import GameManager from "#test/utils/gameManager"; import Phaser from "phaser"; import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest"; import { TurnStartPhase } from "#app/phases/turn-start-phase"; -import { EnemyCommandPhase } from "#app/phases/enemy-command-phase"; describe("Abilities - Stall", () => { let phaserGame: Phaser.Game; @@ -45,7 +44,7 @@ describe("Abilities - Stall", () => { game.move.select(Moves.QUICK_ATTACK); - await game.phaseInterceptor.run(EnemyCommandPhase); + await game.phaseInterceptor.run(TurnStartPhase, false); const phase = game.scene.getCurrentPhase() as TurnStartPhase; const speedOrder = phase.getSpeedOrder(); const commandOrder = phase.getCommandOrder(); @@ -63,7 +62,7 @@ describe("Abilities - Stall", () => { game.move.select(Moves.TACKLE); - await game.phaseInterceptor.run(EnemyCommandPhase); + await game.phaseInterceptor.run(TurnStartPhase, false); const phase = game.scene.getCurrentPhase() as TurnStartPhase; const speedOrder = phase.getSpeedOrder(); const commandOrder = phase.getCommandOrder(); @@ -82,7 +81,7 @@ describe("Abilities - Stall", () => { game.move.select(Moves.TACKLE); - await game.phaseInterceptor.run(EnemyCommandPhase); + await game.phaseInterceptor.run(TurnStartPhase, false); const phase = game.scene.getCurrentPhase() as TurnStartPhase; const speedOrder = phase.getSpeedOrder(); const commandOrder = phase.getCommandOrder();