Skip to main content
Go to Latest
function assertSpyCall
import { assertSpyCall } from "https://deno.land/x/deno_slack_api@1.0.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>