Fix imports post-phase migration

This commit is contained in:
innerthunder 2024-08-18 20:35:17 -07:00
parent a372f94348
commit b0dd1ce9b4
2 changed files with 15 additions and 12 deletions

View File

@ -1,13 +1,13 @@
import { beforeEach, describe, expect, it, vi } from "vitest";
import Pokemon, { MoveResult, PokemonTurnData, TurnMove, PokemonMove } from "#app/field/pokemon.js";
import BattleScene from "#app/battle-scene.js";
import { BattlerTagLapseType, SubstituteTag, TrappedTag } from "#app/data/battler-tags.js";
import { BattlerTagType } from "#app/enums/battler-tag-type.js";
import { Moves } from "#app/enums/moves.js";
import { PokemonAnimType } from "#app/enums/pokemon-anim-type.js";
import * as messages from "#app/messages.js";
import { MoveEffectPhase } from "#app/phases.js";
import { allMoves } from "#app/data/move.js";
import Pokemon, { MoveResult, PokemonTurnData, TurnMove, PokemonMove } from "#app/field/pokemon";
import BattleScene from "#app/battle-scene";
import { BattlerTagLapseType, SubstituteTag, TrappedTag } from "#app/data/battler-tags";
import { BattlerTagType } from "#app/enums/battler-tag-type";
import { Moves } from "#app/enums/moves";
import { PokemonAnimType } from "#app/enums/pokemon-anim-type";
import * as messages from "#app/messages";
import { allMoves } from "#app/data/move";
import { MoveEffectPhase } from "#app/phases/move-effect-phase";
vi.mock("#app/battle-scene.js");

View File

@ -5,7 +5,6 @@ import { Species } from "#app/enums/species";
import { Abilities } from "#app/enums/abilities";
import { Moves } from "#app/enums/moves";
import { getMovePosition } from "../utils/gameManagerUtils";
import { BerryPhase, CommandPhase, MoveEndPhase, MovePhase } from "#app/phases";
import { BattlerTagType } from "#app/enums/battler-tag-type";
import { BattleStat } from "#app/data/battle-stat";
import { allMoves, StealHeldItemChanceAttr } from "#app/data/move";
@ -13,8 +12,12 @@ import { SubstituteTag, TrappedTag } from "#app/data/battler-tags";
import { StatusEffect } from "#app/data/status-effect";
import { BerryType } from "#app/enums/berry-type";
import { SPLASH_ONLY } from "../utils/testUtils";
import { Mode } from "#app/ui/ui.js";
import { Command } from "#app/ui/command-ui-handler.js";
import { Mode } from "#app/ui/ui";
import { Command } from "#app/ui/command-ui-handler";
import { MoveEndPhase } from "#app/phases/move-end-phase";
import { BerryPhase } from "#app/phases/berry-phase";
import { CommandPhase } from "#app/phases/command-phase";
import { MovePhase } from "#app/phases/move-phase";
const TIMEOUT = 20 * 1000; // 20 sec timeout