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

x/superdeno/test/deps.ts>Oak.Router#[Symbol.iterator]

Super-agent driven library for testing Deno HTTP servers.
Go to Latest
method Oak.Router.prototype.[Symbol.iterator]
import { Oak } from "https://deno.land/x/superdeno@4.8.0/test/deps.ts";
const { Router } = Oak;

Provide an iterator interface that iterates over the routes registered with the router.

Returns

IterableIterator<Route<string, RouteParams<string>, RS>>