Skip to content

ConformanceResult

ConformanceResult = object

Defined in: packages/core/src/conformance/runner.ts:16

optional cleanupError?: Error

Defined in: packages/core/src/conformance/runner.ts:31

Populated when the cleanup callback throws. If the case body passed, a cleanup failure flips the result to "fail" and is reported in error. If the body already failed, the cleanup failure is preserved here alongside the original error so neither is lost.


durationMs: number

Defined in: packages/core/src/conformance/runner.ts:34


optional error?: Error

Defined in: packages/core/src/conformance/runner.ts:24


name: string

Defined in: packages/core/src/conformance/runner.ts:17


optional skipReason?: string

Defined in: packages/core/src/conformance/runner.ts:33

Explanation for a "skip" status.


status: "pass" | "fail" | "skip"

Defined in: packages/core/src/conformance/runner.ts:23

"skip" when the case declines to run — for example, a state adapter that omits poisonTransaction for a backend that cannot poison mid-transaction (SQLite). skipReason carries the explanation and error is left unset.