import { type ISpy } from "https://deno.land/x/rhum@v2.1.0/src/interfaces.ts";
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.