mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-20 16:42:45 +02:00
Fixed tests
This commit is contained in:
parent
599a2487bf
commit
11fa4354fa
@ -89,7 +89,7 @@ describe("Abilities - Lightningrod", () => {
|
||||
enemy2.summonData.ability = AbilityId.LIGHTNING_ROD;
|
||||
|
||||
game.move.select(MoveId.SHOCK_WAVE, BattlerIndex.PLAYER, BattlerIndex.ENEMY);
|
||||
game.move.select(MoveId.SPLASH, BattlerIndex.PLAYER_2);
|
||||
game.move.use(MoveId.SPLASH, BattlerIndex.PLAYER_2);
|
||||
await game.phaseInterceptor.to("BerryPhase");
|
||||
|
||||
expect(enemy1.isFullHp()).toBe(false);
|
||||
|
@ -86,7 +86,7 @@ describe("Weather - Strong Winds", () => {
|
||||
const enemy = game.scene.getEnemyPokemon()!;
|
||||
enemy.hp = 1;
|
||||
|
||||
game.move.select(MoveId.SPLASH);
|
||||
game.move.use(MoveId.SPLASH);
|
||||
await game.phaseInterceptor.to("TurnEndPhase");
|
||||
|
||||
expect(game.scene.arena.weather?.weatherType).toBeUndefined();
|
||||
|
@ -33,7 +33,7 @@ describe("Moves - Baddy Bad", () => {
|
||||
game.override.enemyMoveset(MoveId.PROTECT);
|
||||
await game.classicMode.startBattle([SpeciesId.FEEBAS]);
|
||||
|
||||
game.move.select(MoveId.BADDY_BAD);
|
||||
game.move.use(MoveId.BADDY_BAD);
|
||||
await game.phaseInterceptor.to("BerryPhase");
|
||||
|
||||
expect(game.scene.arena.tags.length).toBe(0);
|
||||
|
Loading…
Reference in New Issue
Block a user