Fix tests

This commit is contained in:
Dean 2025-06-15 20:10:26 -07:00
parent ace1dab86f
commit acbcd3e308
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ describe("Abilities - Neutralizing Gas", () => {
expect(game.scene.getPlayerPokemon()?.getStatStage(Stat.ATK)).toBe(1); expect(game.scene.getPlayerPokemon()?.getStatStage(Stat.ATK)).toBe(1);
}); });
it.todo("should activate before other abilities", async () => { it("should activate before other abilities", async () => {
game.override.enemySpecies(SpeciesId.ACCELGOR).enemyLevel(100).enemyAbility(AbilityId.INTIMIDATE); game.override.enemySpecies(SpeciesId.ACCELGOR).enemyLevel(100).enemyAbility(AbilityId.INTIMIDATE);
await game.classicMode.startBattle([SpeciesId.FEEBAS]); await game.classicMode.startBattle([SpeciesId.FEEBAS]);

View File

@ -166,7 +166,7 @@ describe("Moves - Rage Fist", () => {
// Charizard hit // Charizard hit
game.move.select(MoveId.SPLASH); game.move.select(MoveId.SPLASH);
await game.setTurnOrder([BattlerIndex.ENEMY, BattlerIndex.PLAYER]); await game.setTurnOrder([BattlerIndex.PLAYER, BattlerIndex.ENEMY]);
await game.toNextTurn(); await game.toNextTurn();
expect(getPartyHitCount()).toEqual([1, 0]); expect(getPartyHitCount()).toEqual([1, 0]);