Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denoexec/deps.ts>testing.fail

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
function testing.fail
import { testing } from "https://deno.land/x/denoexec@v1.1.5/deps.ts";
const { fail } = testing;

Forcefully throws a failed assertion

Parameters

optional
msg: string

Returns

never