diff --git a/src/test/moves/trick.test.ts b/src/test/moves/trick.test.ts index e55667de576..42e3f44c61c 100644 --- a/src/test/moves/trick.test.ts +++ b/src/test/moves/trick.test.ts @@ -155,7 +155,7 @@ describe("Moves - Trick", () => { game.move.select(Moves.TRICK); await game.phaseInterceptor.to(TurnEndPhase); - const enemyPokemon = game.scene.getEnemyPokemon(); + const enemyPokemon = game.scene.getEnemyPokemon()!; expect(enemyPokemon.getHeldItems()[0].type.id === "FLAME_ORB").toBeTruthy(); } );