Skip to main content
Module

x/kd_clients/deps.ts>assertSpyCalls

Various HTTP clients for miscellaneous use.
Go to Latest
function assertSpyCalls
Re-export
import { assertSpyCalls } from "https://deno.land/x/kd_clients@v1.0.0-preview.8/deps.ts";

Asserts that a spy is called as much as expected and no more.

Type Parameters

Self
Args extends unknown[]
Return

Parameters

spy: Spy<Self, Args, Return>
expectedCalls: number