Skip to main content
Module

std/testing/asserts.ts>fail

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

Forcefully throws a failed assertion

Parameters

optional
msg: string