waygraph / runStubPhase
Function: runStubPhase()
runStubPhase(
block,phase,opts?):Promise<StubPhaseResult>
Defined in: src/demo/narration/narration.ts:24
Runs a Block's stub for one phase and returns what it painted. Returns rings + episode fixtures (todos / todoIndex / zoom).
Parameters
block
phase
opts?
error?
unknown
mem?
out?
Checkpoint<string>
Returns
Promise<StubPhaseResult>
Example
ts
const before = await runStubPhase(block, "stubBefore", { mem });
// before.todos, before.highlights