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

x/oak/testing.ts>mockContextState

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

Allows external parties to modify the context state.

type

{ encodingsAccepted: string; }