Interface: WiremockStubMapping
Defined in: src/sources.ts:39
A WireMock stub; fields besides request and response are passed through.
See
Indexable
[field: string]: unknown
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
request | readonly | object | What the stub matches, e.g. { method: "GET", url: "/ping" }. | src/sources.ts:41 |
response | readonly | object | What it answers, e.g. { status: 200, body: "pong" }. | src/sources.ts:43 |