For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/api/functions/test.renderRouteEvents.md.
  • English
  • Function: renderRouteEvents()

    renderRouteEvents(target, ...__namedParameters): Promise<RenderedRouteEvents>

    Renders one route and collects the ordered render-event stream (#140) alongside the final document, for the event matchers in agent-bundle/test. Same proof level and same renderer as renderRoute: this drains the dispatcher's public event stream rather than its final-only entry point.

    Parameters

    target

    RenderRouteTarget

    __namedParameters

    ...HarnessOptionsArguments<RenderRouteOptions>

    Returns

    Promise<RenderedRouteEvents>