Module

x/oak/mod.ts>testing.createMockNext

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
function testing.createMockNext
import { testing } from "https://dotland.deno.dev/x/oak@v12.0.1/mod.ts";
const { createMockNext } = testing;

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