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.assertSpyCallArg

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

Asserts that a spy is called with a specific arg as expected.

Type Parameters

Self
Args extends unknown[]
Return
ExpectedArg

Parameters

callIndex: number
argIndex: number
expected: ExpectedArg