Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fresh/tests/test_utils.ts>withFakeServe

The next-gen web framework.
Extremely Popular
Latest
function withFakeServe
import { withFakeServe } from "https://deno.land/x/fresh@1.7.2/tests/test_utils.ts";

Parameters

name: string
cb: (server: FakeServer) => Promise<void> | void
optional
options: { loadConfig?: boolean; } = [UNSUPPORTED]