Skip to content
1 min read · 83 words

Function: runPlanStoreConformance()

ts
function runPlanStoreConformance(
  label: string,
  makeStore: () => PlanStore | Promise<PlanStore>,
): void;

Defined in: src/batteries/orchestration/conformance.ts:37

Drive a plan store through the shared contract suite.

Parameters

ParameterTypeDescription
labelstringA human label for the store under test, used in the suite title.
makeStore() => | PlanStore | Promise<PlanStore>A factory returning a FRESH store for each case, so no case shares state with another. May be async.

Returns

void