Type Alias: StepLedgerFixture
StepLedgerFixture =
StepLedger&object
Defined in: packages/workflow-engine/src/testing/persistence-conformance.ts:3133
A StepLedger under test, plus an optional async teardown seam.
Deliberately NOT ResettableFixture: that interface's clear() takes no
arguments and StepLedger already has a clear(stageRecordId) of its own,
so intersecting the two would have the suite's reset call the ledger's
stage-scoped delete with no stage. An adapter that needs real teardown (a
Postgres DELETE FROM workflow_steps) attaches reset; an in-memory fake
needs none, because the factory builds a fresh one for every test.
Type Declaration
reset?
optionalreset?: () =>Promise<void>
Returns
Promise<void>