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

x/oak/testing.ts

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