Pgetter
Bun

property

test.default.MockMethodOptions.getter

getter?: boolean

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