velxio/frontend/src/__tests__
David Montero Crespo 174b4b94e8 test: cover power-supply mapping + refresh mega-multi-led snapshot
Two follow-ups to the realistic-simulator sprint:

1. component-to-spice.test.ts requires every mapped metadataId in
   componentToSpice.ts to have a corresponding MINIMAL_FIXTURES entry
   so the catalog-completeness assertion passes. Adds the power-supply
   fixture (2 pins, default DC 5V/1A topology).

2. examples-netlist-snapshot.test.ts snapshot for mega-multi-led now
   includes the new 8x 220Ω series resistors and the matching
   autopull nodes. Net IDs shift from n0..n7 -> n9..n16 because the
   resistor adds an intermediate node per LED. Verified the diff is
   correct (every added R_r* card is a series resistor between the
   board pin and the LED anode) before applying.
2026-05-18 00:24:08 -03:00
..
__snapshots__ test: cover power-supply mapping + refresh mega-multi-led snapshot 2026-05-18 00:24:08 -03:00
fixtures Add HD44780Decoder and various I2C sketches 2026-05-12 14:26:33 -03:00
helpers feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
AVRSimulator.test.ts
PinManager.test.ts
RP2040Simulator.test.ts Add HD44780Decoder and various I2C sketches 2026-05-12 14:26:33 -03:00
SignalRouter.test.ts fix(esp32): LEDC signal IDs are 71-86 per ESP32 TRM, not 72-87 2026-05-17 05:42:52 +02:00
ammeter-waveform.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
arduino-arduino-spi.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
arduino-esp32-uart.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
arduino-pico-digital.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
arduino-pico-i2c.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
arduino-pico-mixed-uart.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
attiny85-simulation.test.ts
board-kinds-coverage.test.ts test(sim): Phase 1d-tests D + G — board-kind coverage matrix + perf baseline 2026-05-15 23:13:48 +02:00
capacitor-charge-transient.test.ts feat(sim): Phase 1d #3 + #5 — WASM pre-boot on mount + delete dead wire* utils 2026-05-15 22:24:31 +02:00
circuit-simulation-service.test.ts feat(sim): Phase 1c D1+D2 — MCU edges drive scheduler.alterSource + republish 2026-05-15 20:26:09 +02:00
circuit-verifier.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
component-metadata-bmp280.test.ts test(metadata): drill into components array for BMP280 lookup 2026-05-09 23:52:36 +02:00
component-to-spice.test.ts test: cover power-supply mapping + refresh mega-multi-led snapshot 2026-05-18 00:24:08 -03:00
components-metadata-integrity.test.ts test(sim): Phase 1d-tests J + C — vitest.config.ts + components-metadata integrity 2026-05-15 22:58:12 +02:00
dual-arduino-digital.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
dual-arduino-hw-uart.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
dual-arduino-multi-protocol.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
dual-arduino-software-serial.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
dual-esp32-uart.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
dual-pico-digital.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
dual-pico-multi-protocol.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
dual-pico-serial-passthrough.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
epaper-part-integration.test.ts
esp32-dht22-flow.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
esp32-integration.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
esp32-multi-servo-gpio-matrix.test.ts feat(esp32): SignalRouter — model the GPIO Matrix as first-class 2026-05-17 05:00:53 +02:00
esp32-rectifier-integration.test.ts
esp32-servo-pot.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
esp32-wifi-bluetooth.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
esp32-wifi-compile.test.ts
esp32-wifi-webserver-integration.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
esp32c3-blink.test.ts
esp32c3-simulation.test.ts
esp32c3-wifi-bluetooth.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
examples-all-buckets-smoke.test.ts test(sim): Phase 1d-tests B — smoke test 100-days + epaper + picow-wifi + circuits 2026-05-15 23:05:33 +02:00
examples-analog-live.test.ts feat(sim): Phase 1d #2 + #9 — convergence helpers in Worker + enable LM358 subckt 2026-05-15 22:17:06 +02:00
examples-analog.test.ts feat(sim): Phase 1d #2 + #9 — convergence helpers in Worker + enable LM358 subckt 2026-05-15 22:17:06 +02:00
examples-circuits.test.ts
examples-digital.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
examples-gallery-smoke.test.ts feat(sim): Phase 1d #1 — gallery smoke test imports real examples + shared helper 2026-05-15 22:11:28 +02:00
examples-netlist-snapshot.test.ts test(sim): Phase 1d-tests A — netlist snapshots for every gallery example 2026-05-15 23:00:14 +02:00
examples-pico-doom.test.ts fix(examples/pico-doom): wire ILI9341 power + MISO 2026-05-14 23:22:31 -03:00
firmware-loader.test.ts
flip-flop-parts.test.ts
i2c-complex-scenarios.test.ts Add HD44780Decoder and various I2C sketches 2026-05-12 14:26:33 -03:00
i2c-esp32-multiboard-bridge.test.ts feat(i2c): cross-board bridging across all velxio boards (AVR/RP2040/ESP32 xtensa+riscv) 2026-05-12 17:51:39 -03:00
i2c-esp32-real-firmware.test.ts feat(i2c): cross-board bridging across all velxio boards (AVR/RP2040/ESP32 xtensa+riscv) 2026-05-12 17:51:39 -03:00
i2c-interconnect-bridge.test.ts Add HD44780Decoder and various I2C sketches 2026-05-12 14:26:33 -03:00
i2c-lcd-coupling-gap.test.ts Add HD44780Decoder and various I2C sketches 2026-05-12 14:26:33 -03:00
i2c-multi-board-slave-gap.test.ts feat(i2c): cross-board bridging across all velxio boards (AVR/RP2040/ESP32 xtensa+riscv) 2026-05-12 17:51:39 -03:00
i2c-real-firmware.test.ts Add HD44780Decoder and various I2C sketches 2026-05-12 14:26:33 -03:00
install-libraries.test.ts
instruments.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
integration.test.ts
interactive-parts.test.ts
interconnect-routing.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
issue-122-micropython-esp32.test.ts
library-compile.integration.test.ts ci: Phase 1d-tests I + K + L — workflow hardening + nightly library-compile 2026-05-15 23:19:11 +02:00
load-example-transitions.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
load-ngspice-for-node.test.ts feat(sim): Phase 1c F1 — NgSpiceNodeAdapter runs real WASM in Node tests 2026-05-15 20:49:39 +02:00
logic-families.test.ts feat(sim): Phase 3 — logic families (TTL/CMOS-5V/LVCMOS33/AVR_HC/Schmitt) 2026-05-15 16:42:11 +02:00
logic-gate-parts.test.ts
mega-emulation.test.ts Add HD44780Decoder and various I2C sketches 2026-05-12 14:26:33 -03:00
mixed-mode-bjt-switch-integration.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
mixed-mode-scheduler.test.ts feat(sim): Phase 1c A4+A5 — scheduler depends on SolverPort 2026-05-15 19:24:12 +02:00
motor-parts.test.ts
multi-board-integration.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
netlist-builder.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
ngspice-interactive.test.ts feat(sim/spice): vendor ngspice+XSpice WASM and add NgSpiceInteractive client (Phase 1a) 2026-05-15 16:14:50 +02:00
ngspice-node-adapter.test.ts feat(sim): Phase 1c F1 — NgSpiceNodeAdapter runs real WASM in Node tests 2026-05-15 20:49:39 +02:00
part-simulators-coverage.test.ts test(sim): Phase 1d-tests E + F — part simulator coverage + solver determinism 2026-05-15 23:10:05 +02:00
phase-2-device-models.test.ts feat(sim): Phase 2.1 — migrate MOSFETs to VDMOS macro-models 2026-05-15 17:03:49 +02:00
phase-2-lm358-subckt.test.ts feat(sim): Phase 2.2 — vendor LM358 macro-model subckt (asset only) 2026-05-15 17:28:46 +02:00
phase-4-wire-resistance.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
pi3-pico-uart.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
picow-cyw43-integration.test.ts
pin-position-rotation.test.ts fix(canvas): wires follow components on rotation 2026-05-12 18:03:32 -03:00
pin-resolver-phase1b.test.ts feat(sim): Phase 1b skeleton — SPICE-resolved PinResolver + active-path detection 2026-05-15 16:38:30 +02:00
pin-resolver.test.ts feat(sim): introduce PinResolver abstraction (Phase 0 of mixed-mode rewrite) 2026-05-15 15:50:09 +02:00
protocol-parts.test.ts
rp2040-pio-servo.test.ts
sensor-parts.test.ts
serial-batching.test.ts
simulation-parts.test.ts
simulation.test.ts
solver-determinism.test.ts test(sim): Phase 1d-tests E + F — part simulator coverage + solver determinism 2026-05-15 23:10:05 +02:00
solver-perf-baseline.test.ts test(sim): Phase 1d-tests D + G — board-kind coverage matrix + perf baseline 2026-05-15 23:13:48 +02:00
solver-port-contract.test.ts feat(sim): Phase 1c A2+A3 — NgSpiceWorkerAdapter + FakeSolverAdapter 2026-05-15 19:21:46 +02:00
spice-ac.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-active.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-avr-mixed.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-digital.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-mosfet-diag.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-mosfet-pwm.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-npn-switch-diag.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-npn-switch-integration.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-passive.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-rectifier-integration.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
spice-rectifier-live-repro.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
spice-relaxation-oscillator.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-relay-integration.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-signal-generator-tran.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
spice-smoke.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
spice-transient.test.ts feat(sim): Phase 1c F2 — migrate 22 SPICE test files to NgSpiceNodeAdapter 2026-05-15 21:23:53 +02:00
ssd168x-decoder.test.ts
ssd1306-render.test.ts
triple-pico-digital-chain.test.ts Add end-to-end tests for ESP32 I2C functionality and circuit verification 2026-05-12 16:55:15 -03:00
uc8159c-decoder.test.ts
undo-redo.test.ts feat(canvas): undo/redo command pattern + history slice 2026-05-08 12:03:17 -03:00
virtual-i2c-devices.test.ts
voltmeter-waveform.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
waveform-stats.test.ts