method default.CallTracker.prototype.reset
Usage in Deno
```typescript import mod from "node:node__assert.d.ts"; ```
CallTracker.prototype.reset(fn?: Function): void
Reset calls of the call tracker. If a tracked function is passed as an argument, the calls will be reset for it.
If no arguments are passed, all tracked functions will be reset.
```js
import assert from 'node:assert';
const tracker = new assert.CallTracker();
function func() {}
const callsfunc = tracker.calls(func);
callsfunc();
// Tracker was called once
assert.strictEqual(tracker.getCalls(callsfunc).length, 1);
tracker.reset(callsfunc);
assert.strictEqual(tracker.getCalls(callsfunc).length, 0);
```
void