Fix enemy Pokemon not receiving any moves in tests

This commit is contained in:
eucalyptusJ 2024-09-10 11:00:24 -04:00
parent 876d0894be
commit 25761f7632
1 changed files with 1 additions and 1 deletions

View File

@ -5,12 +5,12 @@ import { Species } from "#enums/species";
import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest";
import { TurnEndPhase } from "#app/phases/turn-end-phase";
import { PokemonHeldItemModifier } from "#app/modifier/modifier.js";
import { SPLASH_ONLY } from "#test/utils/testUtils";
import { deepCopy } from "#app/utils";
import { Abilities } from "#app/enums/abilities.js";
const TIMEOUT = 20000;
const TRICK_ONLY = [Moves.TRICK, Moves.TRICK, Moves.TRICK, Moves.TRICK];
const SPLASH_ONLY = [Moves.SPLASH, Moves.SPLASH, Moves.SPLASH, Moves.SPLASH];
/**
* Gets the PokemonHeldItemModifier for a given item ID, if the Pokemon has that item