mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
[Unittest] Fix Ice Face Test where speed tie was sometimes breaking multi-hit test (#2487)
This commit is contained in:
parent
9baa72903f
commit
eff1c8c333
@ -55,7 +55,7 @@ describe("Abilities - Ice Face", () => {
|
|||||||
|
|
||||||
it("takes no damage from the first hit of multihit physical move and transforms to Noice", async () => {
|
it("takes no damage from the first hit of multihit physical move and transforms to Noice", async () => {
|
||||||
vi.spyOn(overrides, "MOVESET_OVERRIDE", "get").mockReturnValue([Moves.SURGING_STRIKES]);
|
vi.spyOn(overrides, "MOVESET_OVERRIDE", "get").mockReturnValue([Moves.SURGING_STRIKES]);
|
||||||
vi.spyOn(overrides, "OPP_LEVEL_OVERRIDE", "get").mockReturnValue(5);
|
vi.spyOn(overrides, "OPP_LEVEL_OVERRIDE", "get").mockReturnValue(1);
|
||||||
await game.startBattle([Species.HITMONLEE]);
|
await game.startBattle([Species.HITMONLEE]);
|
||||||
|
|
||||||
game.doAttack(getMovePosition(game.scene, 0, Moves.SURGING_STRIKES));
|
game.doAttack(getMovePosition(game.scene, 0, Moves.SURGING_STRIKES));
|
||||||
|
Loading…
Reference in New Issue
Block a user