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

x/actionify/tests/deps.ts>assertSpyCallAsync

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
function assertSpyCallAsync
import { assertSpyCallAsync } from "https://deno.land/x/actionify@0.3.0/tests/deps.ts";

Asserts that an async spy is called as expected.

Type Parameters

Self
Args extends unknown[]
Return

Parameters

spy: Spy<Self, Args, Promise<Return>>
callIndex: number
optional
expected: ExpectedSpyCall<Self, Args, Promise<Return> | Return>