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

x/molt/lib/std/testing.ts>assertSpyCall

Update dependencies the Deno way
Latest
function assertSpyCall
import { assertSpyCall } from "https://deno.land/x/molt@0.17.2/lib/std/testing.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>