test: restore the missing LED runtime owner witness (#791)

Exercise a non-null marker absent from the render-device roster alongside a
valid lit neighbour. The previous null-marker smoke returned before the
mutated guard, so it never tested this defensive consumer boundary.
Move this witness to the direct Node runtime suite and update its inventory.

Issue: #791
User-Visible: no
This commit is contained in:
Matysh
2026-10-04 17:09:23 +03:00
parent 14f5b90c24
commit a5e06b0527
3 changed files with 44 additions and 7 deletions
+4 -2
View File
@@ -14506,8 +14506,10 @@ const MUTANT_DEFINITIONS = [
},
{
id: 'led-unbound-in-view',
guard: 'node demo/smoke_led_strip_glow.mjs',
because: "#780 ТЗ §5: an unbound strip has no View representation, light or target",
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
+ '&& node --test test/led-strip-runtime.test.mjs',
because: '#780 ТЗ §5 / #791: ledFrame skips a non-null marker absent from runtime devices '
+ 'without losing a valid neighbouring strip; the executable frame boundary needs no browser',
patches: [{
file: 'src/led-strip-runtime.ts',
find: " if (!device || device.space !== input.space.id) continue;",