interface MockFunctionCall
Type Parameters #
Properties #
If the mocked function threw then this property contains the thrown value.
#result: ReturnType | undefined The value returned by the mocked function.
If the mocked function threw, it will be undefined.
An Error object whose stack can be used to determine the callsite of the mocked function invocation.
If the mocked function is a constructor, this field contains the class being constructed.
Otherwise this will be undefined.