Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth2_server/test_deps.ts>assertSpyCallAsync

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
function assertSpyCallAsync
import { assertSpyCallAsync } from "https://deno.land/x/oauth2_server@0.12.0/test_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>