Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pup/test/deps.ts>assertSpyCall

Universal process manager built in Deno
Go to Latest
function assertSpyCall
import { assertSpyCall } from "https://deno.land/x/pup@1.0.0-alpha-28/test/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>