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

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

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

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

Type Parameters

Self
Args extends unknown[]
Return

Parameters

expectedCalls: number