Skip to main content
Go to Latest
import * as amqp from "https://deno.land/x/amqp@v0.23.1/src/testing.ts";

Functions

Make an assertion, error will be thrown if expr does not have truthy value.

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.

Executes a function which returns a promise, expecting it to reject.

Executes a function, expecting it to throw. If it does not, then it throws.