Skip to main content
Module

x/unitest/dev_deps.ts>assert

🃏 Deno-first universal unit testing framework
Latest
function assert
import { assert } from "https://deno.land/x/unitest@v1.0.0-beta.82/dev_deps.ts";

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

Parameters

expr: unknown
optional
msg = [UNSUPPORTED]

Returns

asserts expr