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

x/oak_http_proxy/test/deps.ts>Oak.testing.createMockApp

Proxy middleware for Deno Oak HTTP servers. 🐿 🦕
Latest
function Oak.testing.createMockApp
import { Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { createMockApp } = Oak.testing;

Creates a mock of Application.

Type Parameters

optional
S extends Record<string | number | symbol, any> = Record<string, any>

Parameters

optional
state = [UNSUPPORTED]