Module

std/testing/asserts.ts>fail

Deno standard library
Go to Latest
function fail
import { fail } from "https://dotland.deno.dev/std@0.62.0/testing/asserts.ts";

Forcefully throws a failed assertion

Parameters

optional
msg: string