pact-web
Version:
Pact for the browser
19 lines (16 loc) • 470 B
TypeScript
import { Interaction } from './interaction';
export type PactfileWriteMode = "overwrite" | "update" | "none";
export class MockService {
constructor(
consumer?: string,
provider?: string,
port?: number,
host?: string,
ssl?: boolean,
pactfileWriteMode?: PactfileWriteMode,
);
addInteraction(interaction: Interaction): Promise<string>;
removeInteractions(): Promise<string>;
verify(): Promise<string>;
writePact(): Promise<string>;
}