diff --git a/test/moves/recovery-moves.test.ts b/test/moves/recovery-moves.test.ts index 39c78b72bf8..70caa0568c6 100644 --- a/test/moves/recovery-moves.test.ts +++ b/test/moves/recovery-moves.test.ts @@ -5,8 +5,8 @@ import { MoveResult } from "#enums/move-result"; import { SpeciesId } from "#enums/species-id"; import { WeatherType } from "#enums/weather-type"; import { GameManager } from "#test/test-utils/game-manager"; -import { toReadableString } from "#utils/common"; import { getEnumValues } from "#utils/enums"; +import { toTitleCase } from "#utils/strings"; import i18next from "i18next"; import Phaser from "phaser"; import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest"; @@ -100,7 +100,7 @@ describe("Moves - Recovery Moves - ", () => { wt => ![WeatherType.SUNNY, WeatherType.HARSH_SUN, WeatherType.NONE, WeatherType.STRONG_WINDS].includes(wt), ) .map(wt => ({ - name: toReadableString(WeatherType[wt]), + name: toTitleCase(WeatherType[wt]), weather: wt, }));