Skip to main content
Module

x/superdeno/test/deps.ts>Oak.testing.createMockApp

Super-agent driven library for testing Deno HTTP servers.
Latest
function Oak.testing.createMockApp
import { Oak } from "https://deno.land/x/superdeno@4.9.0/test/deps.ts";
const { createMockApp } = Oak.testing;

Creates a mock of Application.

Type Parameters

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

Parameters

optional
state = [UNSUPPORTED]