Fixed syntax error in test file

This commit is contained in:
Bertie690 2025-07-30 16:46:09 -04:00
parent feb11b8aec
commit 1fd4859d74

View File

@ -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,
}));