@contract-case/case-core-plugin-function
Version:
ContractCase core function plugin, allowing validation of arbitrary functions
5 lines • 508 B
TypeScript
import { MOCK_FUNCTION_CALLER, MockFunctionDescriptor } from '@contract-case/case-core-plugin-function-dsl';
import { MatchContext, MockData } from '@contract-case/case-plugin-base';
import { AllSetup } from './types';
export declare const setupMockFunctionCaller: ({ request: expectedArguments, response: returnValue, functionName: functionHandle, }: MockFunctionDescriptor, context: MatchContext) => Promise<MockData<AllSetup, typeof MOCK_FUNCTION_CALLER>>;
//# sourceMappingURL=mockFunctionCaller.d.ts.map