Documentation / @zerotal/testing / index / TestResponseContext
Interface: TestResponseContext
Defined in: testing/src/TestResponse.ts:30
Optional extras TestApp attaches while building a response.
Properties
session?
optionalsession?:SessionDecoder
Defined in: testing/src/TestResponse.ts:32
Decoder bound to the app's session.driver.
exception?
optionalexception?:unknown
Defined in: testing/src/TestResponse.ts:38
The exception the request raised, captured by TestApp.withoutExceptionHandling. Included in assertion failures so a 500 reports the bug rather than the error page rendered from it.