Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.1/tests/test_utils.ts";

Methods

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