From c41ada5103642ef8b0738c5de6cfb886eaccc268 Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Wed, 30 Jul 2025 21:15:07 -0400 Subject: [PATCH] Fixed tests --- test/moves/destiny-bond.test.ts | 4 +++- test/moves/psycho-shift.test.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/moves/destiny-bond.test.ts b/test/moves/destiny-bond.test.ts index 7c747eafb93..9c397717335 100644 --- a/test/moves/destiny-bond.test.ts +++ b/test/moves/destiny-bond.test.ts @@ -246,7 +246,9 @@ describe("Moves - Destiny Bond", () => { expect(playerPokemon.isFainted()).toBe(true); // Check that the Tackle user's Reviver Seed did not activate - const revSeeds = game.scene.getModifiers(PokemonInstantReviveModifier).filter(m => m.pokemonId === enemyPokemon.id); + const revSeeds = game.scene + .getModifiers(PokemonInstantReviveModifier) + .filter(m => m.pokemonId === playerPokemon.id); expect(revSeeds.length).toBe(1); }); }); diff --git a/test/moves/psycho-shift.test.ts b/test/moves/psycho-shift.test.ts index 3383a3d0e1a..9e63798773c 100644 --- a/test/moves/psycho-shift.test.ts +++ b/test/moves/psycho-shift.test.ts @@ -40,7 +40,7 @@ describe("Moves - Psycho Shift", () => { const playerPokemon = game.field.getPlayerPokemon(); const enemyPokemon = game.field.getEnemyPokemon(); expect(playerPokemon.status).toBeDefined(); - expect(enemyPokemon.status).toBeNull(); + expect(enemyPokemon.status).toBeFalsy(); game.move.select(MoveId.PSYCHO_SHIFT); await game.phaseInterceptor.to("TurnEndPhase");