Skip to main content
Module

x/oak/mod.ts>testing.mockContextState

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
variable testing.mockContextState
import { testing } from "https://deno.land/x/oak@v12.5.0/mod.ts";
const { mockContextState } = testing;

Allows external parties to modify the context state.

type

{ encodingsAccepted: string; }