Skip to main content
Module

x/deno_slack_sdk/dev_deps.ts>mock.ExpectedSpyCall

SDK for building Run on Slack apps using Deno
Go to Latest
interface mock.ExpectedSpyCall
import { type mock } from "https://deno.land/x/deno_slack_sdk@2.1.2/dev_deps.ts";
const { ExpectedSpyCall } = mock;

Call information recorded by a spy.

Type Parameters

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

Properties

optional
args: [...Args, ...unknown[]]

Arguments passed to a function when called.

optional
self: Self

The instance that a method was called on.

optional
returned: Return

The value that was returned by a function. If you expect a promise to reject, expect error instead.

optional
error: { Class?: new (...args: any[]) => Error; msgIncludes?: string; }