Skip to main content
Module

x/cliffy/dev_deps.ts>assertSpyCall

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
function assertSpyCall
import { assertSpyCall } from "https://deno.land/x/cliffy@v1.0.0-rc.3/dev_deps.ts";

Asserts that a spy is called as expected.

Type Parameters

Self
Args extends unknown[]
Return

Parameters

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