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.

你找到了你需要的东西吗?

隐私政策