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

x/deno_koa/test/test_deps.ts>assert

A middleware framework for Deno's http serve🦕. Transplanted from Koa with ❤️
Latest
function assert
import { assert } from "https://deno.land/x/deno_koa@v1.0.4/test/test_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