[Test] Fix Rage Powder test failing randomly (#4038)
* Fix random failure in Rage Powder test * Remove redundant override
This commit is contained in:
parent
834255447d
commit
31d3bec55e
|
@ -25,7 +25,6 @@ describe("Moves - Rage Powder", () => {
|
|||
beforeEach(() => {
|
||||
game = new GameManager(phaserGame);
|
||||
game.override.battleType("double");
|
||||
game.override.starterSpecies(Species.AMOONGUSS);
|
||||
game.override.enemySpecies(Species.SNORLAX);
|
||||
game.override.startingLevel(100);
|
||||
game.override.enemyLevel(100);
|
||||
|
@ -68,6 +67,10 @@ describe("Moves - Rage Powder", () => {
|
|||
|
||||
game.move.select(Moves.QUICK_ATTACK, 0, BattlerIndex.ENEMY);
|
||||
game.move.select(Moves.QUICK_ATTACK, 1, BattlerIndex.ENEMY_2);
|
||||
|
||||
await game.forceEnemyMove(Moves.RAGE_POWDER);
|
||||
await game.forceEnemyMove(Moves.SPLASH);
|
||||
|
||||
await game.phaseInterceptor.to("BerryPhase", false);
|
||||
|
||||
// If redirection was bypassed, both enemies should be damaged
|
||||
|
|
Loading…
Reference in New Issue