Go to Latest
function doesNotReject
import { doesNotReject } from "https://dotland.deno.dev/std@0.116.0/node/assert/strict.ts";

Parameters

asyncFn: Promise<any> | (() => Promise<any>)
optional
error: RegExp | Function | string
optional
message: string

Returns

Promise<void>