TestReceiverOptions
Defined in: src/testing.ts:69
Options for createTestReceiver.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
failFirst? |
number |
Fail (with status) the first N requests — exercises the retry path. |
src/testing.ts:76 |
secret? |
string |
When set, each request is verified against this secret and its parsed envelope lands in received; an invalid signature answers 401. |
src/testing.ts:74 |
status? |
number |
The failure status used while failing. Default 500. |
src/testing.ts:78 |