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

x/deno_slack_api/dev_deps.ts>assertSpyCalls

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

Asserts that a spy is called as much as expected and no more.

Type Parameters

Self
Args extends unknown[]
Return

Parameters

spy: Spy<Self, Args, Return>
expectedCalls: number