[Test] Fix flaky Shell Side Arm test (#4952)
This commit is contained in:
parent
9bc046fd64
commit
a91d420eb4
|
@ -26,7 +26,7 @@ describe("Moves - Shell Side Arm", () => {
|
|||
beforeEach(() => {
|
||||
game = new GameManager(phaserGame);
|
||||
game.override
|
||||
.moveset([ Moves.SHELL_SIDE_ARM ])
|
||||
.moveset([ Moves.SHELL_SIDE_ARM, Moves.SPLASH ])
|
||||
.battleType("single")
|
||||
.startingLevel(100)
|
||||
.enemyLevel(100)
|
||||
|
@ -69,6 +69,9 @@ describe("Moves - Shell Side Arm", () => {
|
|||
|
||||
vi.spyOn(shellSideArmAttr, "apply");
|
||||
|
||||
game.move.select(Moves.SPLASH);
|
||||
await game.toNextTurn();
|
||||
|
||||
game.move.select(Moves.SHELL_SIDE_ARM);
|
||||
await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
|
||||
await game.phaseInterceptor.to("BerryPhase", false);
|
||||
|
|
Loading…
Reference in New Issue