Files
ComfyUI_frontend/src
Connor Byrne 08fdd0ff29 test(extension-api-v2): pilot shared v2Runtime/v1App harness on bc-01
F2: ~96 BC test files inline near-identical `createTestRuntime` /
`createV2Runtime` blocks (and ~30 `*.migration.test.ts` files inline
`createV1App`). Land the shared harness with bc-01 as the pilot:

- harness/v2Runtime.ts — canonical createV2Runtime({ idPrefix }) with
  register / addNode / mountNode(id) / clear surface.
- harness/v1App.ts — canonical createV1App with simulateNodeCreated.
- harness/README.md — incremental migration tracker (which files have
  adopted, which surfaces remain) and conventions for hoist-safe
  vi.mock / vi.hoisted use against this harness.

bc-01.v2 keeps a thin local createTestRuntime alias to minimise churn
inside the test bodies; bc-01.migration bridges the legacy
`mountNode(comfyClass)` shape to the canonical `addNode + mountNode(id)`
without rewriting every assertion.

Verified: bc-01.v2 (13/14) + bc-01.migration (6/7) pass under vitest run
(1 it.todo each, pre-existing).
2026-05-21 14:05:22 -07:00
..
2026-05-11 04:43:31 +00:00
2026-01-27 17:59:19 -08:00