Skip to main content

interface MockMethodOptions

Properties #

#getter: boolean | undefined
optional

If true, object[methodName] is treated as a getter. This option cannot be used with the setter option.

#setter: boolean | undefined
optional

If true, object[methodName] is treated as a setter. This option cannot be used with the getter option.

Did you find what you needed?

Privacy policy