From a98543862001b3d174a53c1560adf3b3a0e78144 Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Sun, 8 Jun 2025 12:53:37 -0400 Subject: [PATCH] Fixed instruct test to not bork --- test/moves/instruct.test.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/moves/instruct.test.ts b/test/moves/instruct.test.ts index 6ffab2387ad..9db7cf7afa9 100644 --- a/test/moves/instruct.test.ts +++ b/test/moves/instruct.test.ts @@ -610,7 +610,12 @@ describe("Moves - Instruct", () => { // Fake enemy 1 having attacked prior const [, player2, enemy1, enemy2] = game.scene.getField(); - enemy1.pushMoveHistory({ move: MoveId.ABSORB, targets: [BattlerIndex.PLAYER] }); + enemy1.pushMoveHistory({ + move: MoveId.ABSORB, + targets: [BattlerIndex.PLAYER], + result: MoveResult.SUCCESS, + useMode: MoveUseMode.NORMAL, + }); game.field.mockAbility(enemy1, AbilityId.STEADFAST); game.move.use(MoveId.AIR_SLASH, BattlerIndex.PLAYER, BattlerIndex.ENEMY);