@hegeldev/hegel
Preparing search index...
stateful
InvariantCheck
Type Alias InvariantCheck<S>
InvariantCheck
:
(
tc
:
TestCase
,
state
:
S
)
=>
void
|
Promise
<
void
>
The body of an invariant: throws (or, under
runAsync
, rejects) when the invariant is violated.
Type Parameters
S
Type Declaration
(
tc
:
TestCase
,
state
:
S
)
:
void
|
Promise
<
void
>
Parameters
tc
:
TestCase
state
:
S
Returns
void
|
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@hegeldev/hegel
Loading...
The body of an invariant: throws (or, under runAsync, rejects) when the invariant is violated.