mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-20 16:42:45 +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);
|
||||
vi.spyOn(
|
||||
allAbilities[AbilityId.STATIC].getAttrs("PostDefendContactApplyStatusEffectAbAttr")[0],
|
||||
"chance",
|
||||
"get",
|
||||
).mockReturnValue(100);
|
||||
"canApply",
|
||||
).mockReturnValue(true);
|
||||
|
||||
game.move.select(MoveId.SPLASH);
|
||||
await game.move.forceEnemyMove(MoveId.SAFEGUARD);
|
||||
|
Loading…
Reference in New Issue
Block a user