testing/transports

1 module

  • testing/transports/surface_source.ts

    Discriminated source for the AppSurface a suite asserts against.

    In-process callers pass {kind: 'inline', spec} — the full AppSurfaceSpec with route closures intact. Cross-process callers pass {kind: 'snapshot', path} — a committed JSON file containing only the JSON-serializable AppSurface shape.

    Backs the suite parameter that previously was build: () => AppSurfaceSpec.