UNPKG

@pact-foundation/nestjs-pact

Version:

Injectable Pact.js Consumer/Producer for NestJS

9 lines (8 loc) 385 B
import { Pact } from '@pact-foundation/pact'; import { ContractBetween } from '../interfaces/contract-between.interface'; import { PactConsumerOptions } from '../interfaces/pact-consumer-module-options.interface'; export declare class PactFactory { private readonly options; constructor(options: PactConsumerOptions); createContractBetween(sides: ContractBetween): Pact; }