mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
Address typing issue in safeguard test
This commit is contained in:
parent
7391446dc2
commit
df474da895
@ -140,9 +140,8 @@ describe("Moves - Safeguard", () => {
|
|||||||
game.field.mockAbility(player, AbilityId.STATIC);
|
game.field.mockAbility(player, AbilityId.STATIC);
|
||||||
vi.spyOn(
|
vi.spyOn(
|
||||||
allAbilities[AbilityId.STATIC].getAttrs("PostDefendContactApplyStatusEffectAbAttr")[0],
|
allAbilities[AbilityId.STATIC].getAttrs("PostDefendContactApplyStatusEffectAbAttr")[0],
|
||||||
"chance",
|
"canApply",
|
||||||
"get",
|
).mockReturnValue(true);
|
||||||
).mockReturnValue(100);
|
|
||||||
|
|
||||||
game.move.select(MoveId.SPLASH);
|
game.move.select(MoveId.SPLASH);
|
||||||
await game.move.forceEnemyMove(MoveId.SAFEGUARD);
|
await game.move.forceEnemyMove(MoveId.SAFEGUARD);
|
||||||
|
Loading…
Reference in New Issue
Block a user