Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
import * as postalCode from "https://deno.land/x/postal_code@v0.1.0/dev_deps.ts";

Functions

Run some shared teardown after all of the tests in the suite.

Run some shared teardown after each test in the suite.

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

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

Make an assertion that actual not match RegExp expected. If match 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.

Run some shared setup before each test in the suite.

Registers a test suite.

Forcefully throws a failed assertion

Registers an individual test case.

Interfaces

Registers a test suite.

Registers an individual test case.