Skip to main content
Module

x/deno_slack_sdk/dev_deps.ts>mock.assertSpyCallAsync

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

Asserts that an async spy is called as expected.

Type Parameters

Self
Args extends unknown[]
Return

Parameters

spy: Spy<Self, Args, Promise<Return>>
callIndex: number
optional
expected: ExpectedSpyCall<Self, Args, Promise<Return> | Return>