Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/superfetch/types.ts>Expect

๐Ÿ• HTTP Server testing library inspired by node-supertest-fetch.
Latest
type alias Expect
import { type Expect } from "https://deno.land/x/superfetch@2.0.1/types.ts";
definition: { expectStatus: (a: number, b?: string) => Expect; expectHeader: (a: string, b:
| string
| RegExp
| null
| string[]
) => Expect; expectBody: (a: unknown) => void; expect: (a: unknown, b?: unknown) => Expect; }