Module

x/oak/testing.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Go to Latest
import * as mod from "https://dotland.deno.dev/x/oak@v16.1.0/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.