Skip to main content
Go to Latest
interface mock.SpyCall
import { type mock } from "https://deno.land/x/deno_slack_sdk@1.1.3/dev_deps.ts";
const { SpyCall } = mock;

Call information recorded by a spy.

Type Parameters

optional
Self = any
optional
Args extends unknown[] = any[]
optional
Return = any

Properties

args: Args

Arguments passed to a function when called.

optional
returned: Return

The value that was returned by a function.

optional
error: Error

The error value that was thrown by a function.

optional
self: Self

The instance that a method was called on.