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

x/hex/src/fw/service/deps.ts>oak.testing.MockContextOptions

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
interface oak.testing.MockContextOptions
import { type oak } from "https://deno.land/x/hex@0.6.5/src/fw/service/deps.ts";
const { MockContextOptions } = oak.testing;

Options that can be set in a mock context.

Type Parameters

R extends string
optional
P extends RouteParams<R> = RouteParams<R>
optional
S extends State = Record<string, any>

Properties

optional
app: Application<S>
optional
ip: string
optional
method: string
optional
params: P
optional
path: string
optional
state: S
optional
headers: [string, string][]