import { type Spy } from "https://deno.land/x/rimbu@1.2.1/spy/index.ts";
const { FnMeta } = Spy;
The extra information added to spied functions.
Type Parameters
F extends Func
Methods
getter
calls(): Parameters<F>[]Returns an array containing, for each received spy call, the given parameters.
setStub(stub: Spy.FnStub<F> | undefined): void
Sets a stub implementation for this spy function, which will be used instead of the current function implementation upon the next received call.