Fixed tests

This commit is contained in:
Bertie690 2025-07-30 21:15:07 -04:00
parent 3d468d6522
commit c41ada5103
2 changed files with 4 additions and 2 deletions

View File

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

View File

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