Skip to main content
Go to Latest
function assertThrowsAsync
import { assertThrowsAsync } from "https://deno.land/std@v0.36.0/testing/asserts.ts";

Parameters

fn: () => Promise<void>
optional
ErrorClass: Constructor
optional
msgIncludes = [UNSUPPORTED]
optional
msg: string

Returns

Promise<Error>