mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Fix imports post-phase migration
This commit is contained in:
parent
a372f94348
commit
b0dd1ce9b4
@ -1,13 +1,13 @@
|
|||||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||||
import Pokemon, { MoveResult, PokemonTurnData, TurnMove, PokemonMove } from "#app/field/pokemon.js";
|
import Pokemon, { MoveResult, PokemonTurnData, TurnMove, PokemonMove } from "#app/field/pokemon";
|
||||||
import BattleScene from "#app/battle-scene.js";
|
import BattleScene from "#app/battle-scene";
|
||||||
import { BattlerTagLapseType, SubstituteTag, TrappedTag } from "#app/data/battler-tags.js";
|
import { BattlerTagLapseType, SubstituteTag, TrappedTag } from "#app/data/battler-tags";
|
||||||
import { BattlerTagType } from "#app/enums/battler-tag-type.js";
|
import { BattlerTagType } from "#app/enums/battler-tag-type";
|
||||||
import { Moves } from "#app/enums/moves.js";
|
import { Moves } from "#app/enums/moves";
|
||||||
import { PokemonAnimType } from "#app/enums/pokemon-anim-type.js";
|
import { PokemonAnimType } from "#app/enums/pokemon-anim-type";
|
||||||
import * as messages from "#app/messages.js";
|
import * as messages from "#app/messages";
|
||||||
import { MoveEffectPhase } from "#app/phases.js";
|
import { allMoves } from "#app/data/move";
|
||||||
import { allMoves } from "#app/data/move.js";
|
import { MoveEffectPhase } from "#app/phases/move-effect-phase";
|
||||||
|
|
||||||
vi.mock("#app/battle-scene.js");
|
vi.mock("#app/battle-scene.js");
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@ import { Species } from "#app/enums/species";
|
|||||||
import { Abilities } from "#app/enums/abilities";
|
import { Abilities } from "#app/enums/abilities";
|
||||||
import { Moves } from "#app/enums/moves";
|
import { Moves } from "#app/enums/moves";
|
||||||
import { getMovePosition } from "../utils/gameManagerUtils";
|
import { getMovePosition } from "../utils/gameManagerUtils";
|
||||||
import { BerryPhase, CommandPhase, MoveEndPhase, MovePhase } from "#app/phases";
|
|
||||||
import { BattlerTagType } from "#app/enums/battler-tag-type";
|
import { BattlerTagType } from "#app/enums/battler-tag-type";
|
||||||
import { BattleStat } from "#app/data/battle-stat";
|
import { BattleStat } from "#app/data/battle-stat";
|
||||||
import { allMoves, StealHeldItemChanceAttr } from "#app/data/move";
|
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 { StatusEffect } from "#app/data/status-effect";
|
||||||
import { BerryType } from "#app/enums/berry-type";
|
import { BerryType } from "#app/enums/berry-type";
|
||||||
import { SPLASH_ONLY } from "../utils/testUtils";
|
import { SPLASH_ONLY } from "../utils/testUtils";
|
||||||
import { Mode } from "#app/ui/ui.js";
|
import { Mode } from "#app/ui/ui";
|
||||||
import { Command } from "#app/ui/command-ui-handler.js";
|
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
|
const TIMEOUT = 20 * 1000; // 20 sec timeout
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user