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