UNPKG

@case-contract-testing/case

Version:

Next-generation contract testing suite

4 lines (3 loc) 434 B
import type { AnyMockDescriptorType, Assertable, CaseMockDescriptorFor, MatchContext } from '../../entities/types'; import type { InvokingScaffold } from './types'; export declare const findAndCallTrigger: <T extends AnyMockDescriptorType, R>(mock: CaseMockDescriptorFor<T>, { trigger, triggers, names, testErrorResponse, testResponse, }: InvokingScaffold<T, R>, assertable: Assertable<T>, context: MatchContext) => Promise<unknown>;