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

x/oak_nest/test_deps.ts>testing.mockContextState

Refer to nestjs to realize some common functions for Deno
Go to Latest
variable testing.mockContextState
import { testing } from "https://deno.land/x/oak_nest@v2.0.1/test_deps.ts";
const { mockContextState } = testing;

Allows external parties to modify the context state.

type

{ encodingsAccepted: string; }