Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function testing.createMockApp
import { testing } from "https://deno.land/x/oak_sessions@v4.1.10/deps.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]