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@v1.13.15/test_deps.ts";
const { mockContextState } = testing;

Allows external parties to modify the context state.