Module

x/oak/testing.ts>createMockApp

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
function createMockApp
import { createMockApp } from "https://dotland.deno.dev/x/oak@v17.1.2/testing.ts";

Creates a mock of Application.

Type Parameters

optional
S extends Record<PropertyKey, any> = Record<string, any>

Parameters

optional
state: S = [UNSUPPORTED]