From ef3cf3b5aaa7c69b5f789ba9f3e1f00fc0df38d6 Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:12:24 -0700 Subject: [PATCH] Missed one --- src/test/moves/telekinesis.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/moves/telekinesis.test.ts b/src/test/moves/telekinesis.test.ts index ca45ba1c792..76c0d001f00 100644 --- a/src/test/moves/telekinesis.test.ts +++ b/src/test/moves/telekinesis.test.ts @@ -53,8 +53,7 @@ describe("Moves - Telekinesis", () => { it("Telekinesis makes the affected airborne and immune to most Ground-moves", async () => { await game.classicMode.startBattle([ Species.MAGIKARP ]); - const enemyOpponent = game.scene.getEnemyPokemon(); - expect(enemyOpponent).toBeDefined(); + const enemyOpponent = game.scene.getEnemyPokemon()!; game.move.select(Moves.TELEKINESIS); await game.phaseInterceptor.to("TurnEndPhase");