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

x/deno_nest/tests/common_helper.ts>MockOptions

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
type alias MockOptions
import { type MockOptions } from "https://deno.land/x/deno_nest@v3.6.1/tests/common_helper.ts";
definition: { path: string; method: Uppercase<MethodType> | "OPTIONS"; body?: { type: string; value: any; headers?: Record<string, string>; }; reqHeaders?: Record<string, string>; cookies?: Record<string, string>; params?: Record<string, string>; queries?: Record<string, string | string[]>; }