Module

x/cliffy/dev_deps.ts>assertSpyCall

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

Asserts that a spy is called as expected.

Type Parameters

Self
Args extends unknown[]
Return

Parameters

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