MmockImplementation
Bun

method

test.default.MockPropertyContext.mockImplementation

value: PropertyType
): void;

This function is used to change the value returned by the mocked property getter.

@param value

The new value to be set as the mocked property value.