mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 09:02:47 +02:00
Address typing issue in safeguard test
This commit is contained in:
parent
73f113658c
commit
b3473d3932
@ -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