Skip to main content
Deno 2 is finally here 🎉️
Learn more
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-rc.8/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>