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

x/frugal/dep/std/mock.ts>assertSpyCall

A frugal web framework
Go to Latest
function assertSpyCall
import { assertSpyCall } from "https://deno.land/x/frugal@0.3.0/dep/std/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>