From 1fd4859d74c9c647984ba0096e0cc6cf17f3bb3c Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Wed, 30 Jul 2025 16:46:09 -0400 Subject: [PATCH] Fixed syntax error in test file --- test/moves/recovery-moves.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }));