Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pact/src/pact-js/pact.d.ts>SynchronousMessage

Pact 🔗 Contract Testing for Deno 🦕, Powered by Rust 🦀
Latest
type alias SynchronousMessage
import { type SynchronousMessage } from "https://deno.land/x/pact@0.1.0/src/pact-js/pact.d.ts";
definition: PluginInteraction & { given: (state: string) => void; givenWithParam: (
state: string,
name: string,
value: string,
) => void; withMetadata: (name: string, value: string) => void; withRequestContents: (body: string, contentType: string) => void; withResponseContents: (body: string, contentType: string) => void; withRequestBinaryContents: (body: Buffer, contentType: string) => void; withResponseBinaryContents: (body: Buffer, contentType: string) => void; }