Fix SF test

This commit is contained in:
Bertie690 2025-06-07 08:11:40 -04:00
parent a66263fd6a
commit cd6f8b9c3d

View File

@ -99,6 +99,7 @@ describe("Abilities - Sheer Force", () => {
await game.toEndOfTurn(); await game.toEndOfTurn();
// ability was disabled when using boosted attack // ability was disabled when using boosted attack
expect(game.field.getEnemyPokemon()).toBe(enemyPokemon); // covers wimp out switch stuff
expect(enemyPokemon.waveData.abilitiesApplied).not.toContain(ability); expect(enemyPokemon.waveData.abilitiesApplied).not.toContain(ability);
expect(headbuttMove.calculateBattlePower).toHaveLastReturnedWith(headbuttMove.power * SHEER_FORCE_MULT); expect(headbuttMove.calculateBattlePower).toHaveLastReturnedWith(headbuttMove.power * SHEER_FORCE_MULT);
expect(headbuttFlinchAttr.getMoveChance).toHaveLastReturnedWith(0); expect(headbuttFlinchAttr.getMoveChance).toHaveLastReturnedWith(0);