Fixed test broken by suggestions

This commit is contained in:
Wlowscha 2025-09-06 08:57:32 +02:00
parent f4f65f5a8d
commit bceec50089
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -1,5 +1,4 @@
import { pokerogueApi } from "#api/pokerogue-api"; import { pokerogueApi } from "#api/pokerogue-api";
import { AbilityId } from "#enums/ability-id";
import { BattleType } from "#enums/battle-type"; import { BattleType } from "#enums/battle-type";
import { BiomeId } from "#enums/biome-id"; import { BiomeId } from "#enums/biome-id";
import { Challenges } from "#enums/challenges"; 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 // Kill 1 boss, knock other down to critical hp
game.move.use(MoveId.FALSE_SWIPE); game.move.use(MoveId.FALSE_SWIPE);
await game.doKillPokemon(game.field.getEnemyField()[1) await game.killPokemon(game.scene.getEnemyField()[1]);
game.doThrowPokeball(ball); game.doThrowPokeball(ball);
await game.toEndOfTurn(); await game.toEndOfTurn();