mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 23:12:20 +02:00
Fix tests
This commit is contained in:
parent
ace1dab86f
commit
acbcd3e308
@ -58,7 +58,7 @@ describe("Abilities - Neutralizing Gas", () => {
|
||||
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);
|
||||
|
||||
await game.classicMode.startBattle([SpeciesId.FEEBAS]);
|
||||
|
@ -166,7 +166,7 @@ describe("Moves - Rage Fist", () => {
|
||||
|
||||
// Charizard hit
|
||||
game.move.select(MoveId.SPLASH);
|
||||
await game.setTurnOrder([BattlerIndex.ENEMY, BattlerIndex.PLAYER]);
|
||||
await game.setTurnOrder([BattlerIndex.PLAYER, BattlerIndex.ENEMY]);
|
||||
await game.toNextTurn();
|
||||
expect(getPartyHitCount()).toEqual([1, 0]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user