Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function doesNotThrow
import { doesNotThrow } from "https://deno.land/std@0.142.0/node/assert/strict.ts";

Parameters

fn: () => void
optional
expected: Function | RegExp | string
optional
message: string | Error