From 8f2c10fdc47d66560b95ae16a73d9048a0355b13 Mon Sep 17 00:00:00 2001 From: Admin Date: Sun, 20 Sep 2026 19:08:33 +0000 Subject: [PATCH] Align smoke test with upgrade-aware thrust --- 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 bc027e6..a4a1456 100644 --- a/tests/wiring.test.mjs +++ b/tests/wiring.test.mjs @@ -238,7 +238,7 @@ test('player propulsion smoke emits at world engine positions with per-particle assert.match(source, /const particle = this\.playerSmoke\.emitParticleAt\(engineX, engineY, 1\)/); assert.match(source, /particle\.velocityX = velocityX/); assert.match(source, /particle\.velocityY = velocityY/); - assert.match(source, /Phaser\.Math\.Linear\(150, 48, forwardThrust\)/); + assert.match(source, /Phaser\.Math\.Linear\(150, 48, effectiveForwardThrust\)/); assert.doesNotMatch(source, /this\.playerSmoke\.setPosition\(sternX, sternY\)/); assert.doesNotMatch(source, /this\.playerSmoke\.setParticleSpeed\(/); });