@pact-foundation/pact
Version:
Pact for all things Javascript
5 lines (4 loc) • 341 B
TypeScript
import type { ConsumerPact } from '@pact-foundation/pact-core';
import type { PactV4Options, TestFunction } from './types';
export declare const readBinaryData: (file: string) => Buffer;
export declare const executeTest: <T>(pact: ConsumerPact, opts: PactV4Options, testFn: TestFunction<T>, cleanupFn: () => void) => Promise<T | undefined>;