Represents the result of a single call to a mock function.
Indicates how the call completed.
The value that was either thrown or returned by the function. Undefined when type === 'incomplete'.
Possible types of a MockFunctionResult. 'return': The call completed by returning normally. 'throw': The call completed by throwing a value. 'incomplete': The call has not completed yet. This is possible if you read the mock function result from within the mock function itself (or a function called by the mock function).
List of results of calls to the mock function.
Generated using TypeDoc
Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.