From f39b13dcaceaa74e378cefea6042648a135befb3 Mon Sep 17 00:00:00 2001 From: Admin Date: Fri, 18 Sep 2026 06:43:25 +0000 Subject: [PATCH] Align player hit FX test with safe reaction --- 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 f90817e..cf40f73 100644 --- a/tests/wiring.test.mjs +++ b/tests/wiring.test.mjs @@ -100,7 +100,7 @@ test('player hit FX runs after queued hit processing, outside the overlap callba assert.match(source, /if \(appliedHits > 0\) \{[\s\S]*?for \(const impact of hits\) \{[\s\S]*?this\.spawnExplosion\(impact\.x, impact\.y, 0\.32\)/); assert.match(source, /this\.playPlayerHitReaction\(totalDamage\)/); assert.match(source, /this\.cameras\.main\.shake\(120/); - assert.match(source, /this\.tweens\.add\(\{/); + assert.doesNotMatch(source, /targets: this\.player/); assert.match(source, /combat:player-hit-fx-error/); });