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

x/oak/mod.ts>testing.createMockApp

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
function testing.createMockApp
import { testing } from "https://deno.land/x/oak@v11.0.0/mod.ts";
const { createMockApp } = testing;

Creates a mock of Application.

Type Parameters

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

Parameters

optional
state = [UNSUPPORTED]