Skip to content

Instantly share code, notes, and snippets.

View kwiest's full-sized avatar

Kyle Wiest kwiest

  • Blue Bottle Coffee
  • Eugene, OR
View GitHub Profile
@kwiest
kwiest / consumer.test.ts
Created January 20, 2022 17:18
Example consumer contract test
import { Pact } from "@pact-foundation/pact";
import { like } from "@pact-foundation/pact/src/dsl/matchers";
import { CartApi } from ".";
const provider = new Pact({
consumer: "MockCartConsumer",
provider: "CartService",
logLevel: "info",
});