Skip to content

MockFunctionOptions

[<Interface>]
type MockFunctionOptions =
    abstract member times: float option with get, set
    static member Create (?times: float) : MockFunctionOptions
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member times: float option with get, set

The number of times that the mock will use the behavior of implementation. Once the mock function has been called times times, it will automatically restore the behavior of original. This value must be an integer greater than zero.

Methods

static member Create (?times: float) : MockFunctionOptions