Skip to main content
Latest
function assertSpyCall
import { assertSpyCall } from "https://deno.land/x/frugal@0.9.6/dep/std/testing/mock.ts";

Asserts that a spy is called as expected.

Type Parameters

Self
Args extends unknown[]
Return

Parameters

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