MresetCalls
Bun

method

test.default.MockFunctionContext.resetCalls

resetCalls(): void;

Resets the call history of the mock function.