Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/assert/mod.ts

Deno standard library
Go to Latest
File
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
/** A library of assertion functions. * If the assertion is false an `AssertionError` will be thrown which will * result in pretty-printed diff of failing assertion. * * This module is browser compatible, but do not rely on good formatting of * values for AssertionError messages in browsers. * * @module */
export * from "./assert_almost_equals.ts";export * from "./assert_array_includes.ts";export * from "./assert_equals.ts";export * from "./assert_exists.ts";export * from "./assert_false.ts";export * from "./assert_instance_of.ts";export * from "./assert_is_error.ts";export * from "./assert_match.ts";export * from "./assert_not_equals.ts";export * from "./assert_not_instance_of.ts";export * from "./assert_not_match.ts";export * from "./assert_not_strict_equals.ts";export * from "./assert_object_match.ts";export * from "./assert_rejects.ts";export * from "./assert_strict_equals.ts";export * from "./assert_string_includes.ts";export * from "./assert_throws.ts";export * from "./assert.ts";export * from "./assertion_error.ts";export * from "./equal.ts";export * from "./fail.ts";export * from "./unimplemented.ts";export * from "./unreachable.ts";