Skip to main content
Module

x/oak/testing.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
import * as oak from "https://deno.land/x/oak@v11.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.