Skip to main content
Module

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

Super-agent driven library for testing Deno HTTP servers.
Latest
variable Oak.testing.mockContextState
import { Oak } from "https://deno.land/x/superdeno@4.9.0/test/deps.ts";
const { mockContextState } = Oak.testing;

Allows external parties to modify the context state.

type

{ encodingsAccepted: string; }