Skip to content
GitHub

InvocationResult

interface in meocord/testing Since 4.1.0

interface InvocationResult

How a call made with TestingModule.invoke ended.

Members

ran

ran: boolean

Whether the handler ran; false when a guard denied the call or an interceptor skipped it.

error

error?: unknown

The error a filter handled, when the call failed and a @UseFilter or global filter caught it.