UNPKG

@contract-case/case-core

Version:

Core functionality for the ContractCase contract testing suite

7 lines 711 B
import { AnyMockDescriptorType } from '@contract-case/case-entities-internal'; import { MatchContext, CaseExample } from '@contract-case/case-plugin-base'; import { InvokingScaffold } from './types'; import type { ReadingCaseContract } from '../ReadingCaseContract'; import type { WritingCaseContract } from '../WritingCaseContract'; export declare const executeExample: <T extends AnyMockDescriptorType, R>(unnamedExample: CaseExample, { stateHandlers, trigger, triggers, names, testErrorResponse, triggerAndTest, triggerAndTests, testResponse, }: InvokingScaffold<T, R>, contract: WritingCaseContract | ReadingCaseContract, context: MatchContext) => Promise<void>; //# sourceMappingURL=executeExample.d.ts.map