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/);