Mrestore
Bun

method

test.default.MockFunctionContext.restore

restore(): void;

Resets the implementation of the mock function to its original behavior. The mock can still be used after calling this function.