Skip to main content

Interface: RuntimeAdapterContractCase

Defined in: contract-cases.ts:58

One check a RuntimeAdapter implementation must pass. run returns silently on success and throws an Error describing the failure otherwise, so any test runner can host it. Some cases are asynchronous, so a runner must await whatever run returns.

Properties​

PropertyTypeDefined in
namestringcontract-cases.ts:59

Methods​

run()​

run(subject: RuntimeAdapterSubject): void | Promise<void>;

Defined in: contract-cases.ts:60

Parameters​

ParameterType
subjectRuntimeAdapterSubject

Returns​

void | Promise<void>