Skip to main content
Module

x/oak/mod.ts>testing.createMockNext

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

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