UNPKG

@pact-foundation/pact

Version:
5 lines (4 loc) 341 B
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>;