From 5ea5fcfceebf0ea7b2ea5db35f466dfe20c00dbf Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Sun, 22 Sep 2024 20:11:09 -0700 Subject: [PATCH] remove: manual test timeouts from chilly reception tests --- src/test/moves/chilly_reception.test.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/test/moves/chilly_reception.test.ts b/src/test/moves/chilly_reception.test.ts index 969c1b97192..1b5b5cecb4a 100644 --- a/src/test/moves/chilly_reception.test.ts +++ b/src/test/moves/chilly_reception.test.ts @@ -6,8 +6,6 @@ import GameManager from "#test/utils/gameManager"; import Phaser from "phaser"; import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest"; -const TIMEOUT = 20 * 1000; - describe("Moves - Chilly Reception", () => { let phaserGame: Phaser.Game; let game: GameManager; @@ -39,7 +37,7 @@ describe("Moves - Chilly Reception", () => { await game.phaseInterceptor.to("BerryPhase", false); expect(game.scene.arena.weather?.weatherType).toBe(WeatherType.SNOW); - }, TIMEOUT); + }); it("should switch out even if it's snowing", async () => { await game.classicMode.startBattle([Species.SLOWKING, Species.MEOWTH]); @@ -55,7 +53,7 @@ describe("Moves - Chilly Reception", () => { await game.phaseInterceptor.to("BerryPhase", false); expect(game.scene.arena.weather?.weatherType).toBe(WeatherType.SNOW); expect(game.scene.getPlayerField()[0].species.speciesId).toBe(Species.MEOWTH); - }, TIMEOUT); + }); it("happy case - switch out and weather changes", async () => { @@ -67,5 +65,5 @@ describe("Moves - Chilly Reception", () => { await game.phaseInterceptor.to("BerryPhase", false); expect(game.scene.arena.weather?.weatherType).toBe(WeatherType.SNOW); expect(game.scene.getPlayerField()[0].species.speciesId).toBe(Species.MEOWTH); - }, TIMEOUT); + }); });