Skip to main content
Module

x/oak/testing.ts>createMockApp

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

Creates a mock of Application.

Type Parameters

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

Parameters

optional
state: S = [UNSUPPORTED]