Module

x/oak/testing.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
import * as mod from "https://dotland.deno.dev/x/oak@v17.1.3/testing.ts";

A collection of utility APIs which can make testing of an oak application easier.

Variables

Allows external parties to modify the context state.

Functions

Creates a mock of Application.

Create a mock of Context or RouterContext.

Creates a mock next() function which can be used when calling middleware.

Interfaces

Options that can be set in a mock context.