Missed one

This commit is contained in:
NightKev 2024-10-07 09:12:24 -07:00 committed by GitHub
parent 89b3580847
commit ef3cf3b5aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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");