@pact-foundation/pact
Version:
Pact for all things Javascript
10 lines (9 loc) • 460 B
TypeScript
import type { ConsumerPact } from '@pact-foundation/pact-core';
import type { PactV4Options, TestFunction, V4InteractionWithResponse } from './types';
export declare class InteractionWithResponse implements V4InteractionWithResponse {
private pact;
private opts;
protected cleanupFn: () => void;
constructor(pact: ConsumerPact, opts: PactV4Options, cleanupFn: () => void);
executeTest<T>(testFn: TestFunction<T>): Promise<T | undefined>;
}