Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/lib/stdx/testing.ts>mock.assertSpyCalls

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
function mock.assertSpyCalls
import { mock } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/testing.ts";
const { assertSpyCalls } = mock;

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

Type Parameters

Self
Args extends unknown[]
Return

Parameters

expectedCalls: number