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

x/fresh/tests/test_utils.ts>FakeServer

The next-gen web framework.
Extremely Popular
Go to Latest
interface FakeServer
import { type FakeServer } from "https://deno.land/x/fresh@1.6.3/tests/test_utils.ts";

Methods

request(req: Request): Promise<Response>
getHtml(pathname: string): Promise<TestDocument>
get(pathname: string): Promise<Response>