Skip to content

ConformanceCase

Defined in: mcp-code/src/lib/conformance.ts:49

optional before?: object

Defined in: mcp-code/src/lib/conformance.ts:54

Run first on the same executor (its outcome is ignored) — for fresh-state and recovery cases.

code: string

optional limits?: Partial<CodeLimits>


optional check?: (result, bridge, elapsedMs) => string | undefined

Defined in: mcp-code/src/lib/conformance.ts:60

Further checks — return a failure description, or undefined when the case passes.

CodeExecutionResult

ConformanceBridge

number

string | undefined


code: string

Defined in: mcp-code/src/lib/conformance.ts:51


optional concurrency?: number

Defined in: mcp-code/src/lib/conformance.ts:56

Run this many executions concurrently; every one must meet expect.

1

expect: { ok: true; value?: unknown; } | { errorName: string | string[]; ok: false; }

Defined in: mcp-code/src/lib/conformance.ts:58

errorName may list several acceptable typed errors.


optional limits?: Partial<CodeLimits>

Defined in: mcp-code/src/lib/conformance.ts:52


name: string

Defined in: mcp-code/src/lib/conformance.ts:50