import { Spy } from "https://deno.land/x/rimbu@1.2.0/spy/spy.ts";
const { obj } = Spy;
Returns a tuple containing the spied object, and the metadata object giving more information about the stubbed object.
Parameters
optional
originalObj: T- (optional) the original object to spy on
optional
stubs: Spy.ObjStub<T>- (optional) a partial implementation of the object type containing default stubs