Skip to main content
The Deno 2 Release Candidate is here
Learn more
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.15.1/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]