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

x/deno_slack_api/dev_deps.ts>assertSpyCall

Slack API Client for Deno Run on Slack projects
Go to Latest
function assertSpyCall
import { assertSpyCall } from "https://deno.land/x/deno_slack_api@2.7.1/dev_deps.ts";

Asserts that a spy is called as expected. Returns the call.

Type Parameters

Self
Args extends unknown[]
Return

Parameters

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