UNPKG

@contract-case/case-core

Version:

Core functionality for the ContractCase contract testing suite

7 lines 699 B
import { AnyMockDescriptor, AnyMockDescriptorType } from '@contract-case/case-entities-internal'; import { MatchContext } from '@contract-case/case-plugin-base'; import { CaseMockDescriptorFor } from '@contract-case/case-plugin-dsl-types'; import type { InvokingScaffold } from './types'; import { Assertable } from '../../entities/types'; export declare const findAndCallTrigger: <T extends AnyMockDescriptorType, R>(mock: CaseMockDescriptorFor<AnyMockDescriptor, T>, { trigger, triggerAndTest, triggerAndTests, triggers, names, testErrorResponse, testResponse, }: InvokingScaffold<T, R>, assertable: Assertable<T>, context: MatchContext) => Promise<unknown>; //# sourceMappingURL=triggers.d.ts.map