interface
test.default.MockFunctionOptions
interface MockFunctionOptions
- times?: number
The number of times that the mock will use the behavior of
implementation. Once the mock function has been calledtimestimes, it will automatically restore the behavior oforiginal. This value must be an integer greater than zero.