method default.CallTracker.prototype.getCalls
Usage in Deno
```typescript import mod from "node:node__assert.d.ts"; ```
CallTracker.prototype.getCalls(fn: Function): CallTrackerCall[]
Example:
```js
import assert from 'node:assert';
const tracker = new assert.CallTracker();
function func() {}
const callsfunc = tracker.calls(func);
callsfunc(1, 2, 3);
assert.deepStrictEqual(tracker.getCalls(callsfunc),
[{ thisArg: undefined, arguments: [1, 2, 3] }]);
```
An array with all the calls to a tracked function.