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

x/service/test/deps.ts>assertSpyCall

Install a Deno application as a system service
Latest
function assertSpyCall
import { assertSpyCall } from "https://deno.land/x/service@1.0.0-rc.0/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>