From 426443bc9eced6617b3776ba5810309dda24dd9c Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Mon, 23 Feb 2026 19:08:59 -0500 Subject: [PATCH] Update combat test to match real jaw_worm board game data --- src/combat.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/combat.test.js b/src/combat.test.js index 0a72e4f..ab5a027 100644 --- a/src/combat.test.js +++ b/src/combat.test.js @@ -41,8 +41,8 @@ describe("resolveEnemyTurn", () => { combat: { ...state.combat, dieResult: 1 }, }; const next = resolveEnemyTurn(state); - // die result 1 maps to an attack action (hit 2), so no block regained - expect(next.enemy.block).toBe(0); + // die result 1 maps to a defend action (3 hit + 1 block), block resets then regains 1 + expect(next.enemy.block).toBe(1); }); });