Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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