mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +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);
|
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]);
|
||||||
|
@ -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]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user