Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/unitest/expect/mod.ts

๐Ÿƒ Deno-first universal unit testing framework
Latest
import * as unitest from "https://deno.land/x/unitest@v1.0.0-beta.82/expect/mod.ts";

Variables

Consists of a built-in matcher for jest and is ready to use out of the box.

Functions

Creates a fully customized expect. By default, there are no matchers or modifiers. You can choose and configure only the matchers you want. This allows you to optimise the bundle size.

Return new expect based on another expect. All definitions are deep merged. Duplicate fields will be replaced by the new definition.