Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/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]