From 3f86d45bd3651df98b7577949a0b6f3def5d558b Mon Sep 17 00:00:00 2001 From: Admin Date: Sat, 19 Sep 2026 01:25:35 +0000 Subject: [PATCH] Align hit reaction wiring test with shared damage constant --- tests/wiring.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wiring.test.mjs b/tests/wiring.test.mjs index 80ec413..ae9ac42 100644 --- a/tests/wiring.test.mjs +++ b/tests/wiring.test.mjs @@ -238,7 +238,7 @@ test('processed player hits drive sprite and HUD hit reactions', async () => { ]); assert.match(game, /this\.playerHitSequence \+= 1/); - assert.match(game, /playPlayerHitReaction\(damage = PIRATE_SHOT_DAMAGE\)/); + assert.match(game, /playPlayerHitReaction\(damage = DEFAULT_PIRATE_SHOT_DAMAGE\)/); assert.match(game, /this\.player\.setTint\(0xffd7d7\)/); assert.match(game, /this\.cameras\.main\.shake\(120/); assert.doesNotMatch(game, /targets: this\.player/);