import { assertThrowsAsync } from "https://deno.land/x/hooks@v0.9.0/test/dependencies.ts";
Parameters
optional
errorClassOrCallback: (new (...args: any[]) => E) | ((e: Error) => unknown)import { assertThrowsAsync } from "https://deno.land/x/hooks@v0.9.0/test/dependencies.ts";