Skip to main content

property MockMethodOptions.getter

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

Type #

boolean | undefined

Did you find what you needed?

Privacy policy