wiremock-captain
Version:
A better way to use the WireMock simulator to test your HTTP APIs
6 lines (5 loc) • 382 B
TypeScript
import { WireMockDelay } from './types/externalTypes';
import { Method, WebhookBody } from './types/internalTypes';
export declare function filterRequest(method: Method, endpointUrl: string, request: any): boolean;
export declare function getWebhookBody(body: WebhookBody): string;
export declare function getWebhookDelayBody(delay: WireMockDelay): Record<string, number | string>;