mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-07 15:09:30 +00:00
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:
@@ -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;",
|
||||
|
||||
Reference in New Issue
Block a user