MockFunctionCall
type MockFunctionCall<'F, 'ReturnType, 'Args> = MockFunctionCall<'F,'ReturnType,'Args>| Assembly | Xantham.Fable.Node |
Properties
abstract member arguments: 'Args with get, set
abstract member arguments: 'Args with get, setAn array of the arguments passed to the mock function.
abstract member error: obj with get, set
abstract member error: obj with get, setIf the mocked function threw then this property contains the thrown value.
abstract member result: 'ReturnType option with get, set
abstract member result: 'ReturnType option with get, setThe value returned by the mocked function.
If the mocked function threw, it will be undefined.
abstract member stack: exn with get, set
abstract member stack: exn with get, setAn Error object whose stack can be used to determine the callsite of the mocked function invocation.