SpyCall
import { SpyCall } from "jsr:@ende/testing/mock";interface
interface SpyCall<Self = any, Args extends unknown[] = any[], Return = any>Call information recorded by a spy.
Properties
args
args: ArgsArguments passed to a function when called.
returned
returned?: ReturnThe value that was returned by a function.
error
error?: ErrorThe error value that was thrown by a function.
self
self?: SelfThe instance that a method was called on.