From bceec50089405f60252eb6b73da01db28baf9d89 Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Sat, 6 Sep 2025 08:57:32 +0200 Subject: [PATCH] Fixed test broken by suggestions --- test/field/catching.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/field/catching.test.ts b/test/field/catching.test.ts index c0db556b082..92972f69549 100644 --- a/test/field/catching.test.ts +++ b/test/field/catching.test.ts @@ -1,5 +1,4 @@ import { pokerogueApi } from "#api/pokerogue-api"; -import { AbilityId } from "#enums/ability-id"; import { BattleType } from "#enums/battle-type"; import { BiomeId } from "#enums/biome-id"; import { Challenges } from "#enums/challenges"; @@ -355,7 +354,7 @@ describe("Throwing balls at bosses after weakening them", () => { // Kill 1 boss, knock other down to critical hp game.move.use(MoveId.FALSE_SWIPE); - await game.doKillPokemon(game.field.getEnemyField()[1) + await game.killPokemon(game.scene.getEnemyField()[1]); game.doThrowPokeball(ball); await game.toEndOfTurn();