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

x/nonstd/Tests/test_deps.ts

A library for useful features that aren't currently in the std library.
Latest
import * as nonstd from "https://deno.land/x/nonstd@v0.2.2/Tests/test_deps.ts";

Classes

Define the VerbalExpression class

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.

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

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

Deep equality comparison used in assertions

Forcefully throws a failed assertion

Use this to stub out methods that will throw when invoked.

Use this to assert unreachable code.

Return a new instance of VerbalExpression