Preparing search index...
The search index is not available
Stratix Framework - v0.8.2
Stratix Framework
testing/src
expectFailure
Function expectFailure
expectFailure
<
T
>
(
result
:
AgentResult
<
T
>
,
)
:
asserts
result
is
AgentResult
<
T
>
&
{
error
:
Error
}
Asserts that the agent result is a failure
Type Parameters
T
Parameters
result
:
AgentResult
<
T
>
Returns
asserts
result
is
AgentResult
<
T
>
&
{
error
:
Error
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Stratix Framework - v0.8.2
Loading...
Asserts that the agent result is a failure