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

x/oauth2_server/test_deps.ts>spy

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
function spy
import { spy } from "https://deno.land/x/oauth2_server@0.12.0/test_deps.ts";

Wraps a function or instance method with a Spy.

Type Parameters

optional
Self = any
optional
Args extends unknown[] = any[]
optional
Return = undefined

Type Parameters

Self
Args extends unknown[]
Return

Parameters

func: (this: Self, ...args: Args) => Return

Type Parameters

Self
Args extends unknown[]
Return

Parameters

self: Self
property: keyof Self