Skip to main content
Latest
function assertSpyCallAsync
import { assertSpyCallAsync } from "https://deno.land/x/denomongo_unittest_utils@v0.5.3/tests/test_deps.ts";

Asserts that an async spy is called as expected. Returns the call.

Parameters

spy: Spy<T> | Stub<T>
callIndex: number
optional
expected: ExpectedSpyCall