[go: up one dir, main page]

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

x/superfetch/deps.ts

🐕 HTTP Server testing library inspired by node-supertest-fetch.
Go to Latest
import * as superfetch from "https://deno.land/x/superfetch@1.0.4/deps.ts";

Functions

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Make an assertion that actual match RegExp expected. If not then throw.

Found free port. If the port is not available, returns the port If the port is not available, returns a random available port Requires --allow-net flag