MockAdapterOptions
Auto-generated API reference for MockAdapterOptions.
Interface: MockAdapterOptions
Defined in: mock.ts:10
#Properties
#delayMs?
optionaldelayMs?:number
Defined in: mock.ts:17
ms between yielded chunks. Default 0 (synchronous).
#history?
optionalhistory?:AdapterRequest[]
Defined in: mock.ts:19
Track every request the adapter received. Useful for assertions.
#response
response:
MockResponse|MockResponse[]
Defined in: mock.ts:15
Static chunks, a request-aware function, or a sequence of responses (the i-th call returns the i-th item, looping when exhausted).