Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oak_nest/test_deps.ts>testing.createMockApp

Refer to nestjs to realize some common functions for Deno
Go to Latest
function testing.createMockApp
import { testing } from "https://deno.land/x/oak_nest@v1.14.2/test_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]