import { type Interfaces } from "https://deno.land/x/rhum@v2.2.0/mod.ts";
const { ISpy } = Interfaces;
Properties
stubbed_methods: Record<MethodOf<OriginalObject>, ISpyStubMethod>
Property to track all stubbed methods. This property is used when calling
.verify("someMethod")
. The .verify("someMethod")
call will return the
ISpyStubMethod
object via stubbed_methods["someMethod"]
.
Methods
verify(method: MethodOf<OriginalObject>): IMethodVerifier
Access the method verifier.