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

x/oak_http_proxy/test/deps.ts>Oak.testing.mockContextState

Proxy middleware for Deno Oak HTTP servers. 🐿 🦕
Latest
variable Oak.testing.mockContextState
import { Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { mockContextState } = Oak.testing;

Allows external parties to modify the context state.

type

{ encodingsAccepted: string; }