Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_slack_sdk/dev_deps.ts>mock.assertSpyCallAsync

SDK for building Run on Slack apps using Deno
Extremely Popular
Go to Latest
function mock.assertSpyCallAsync
import { mock } from "https://deno.land/x/deno_slack_sdk@1.4.2/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>