import * as chai from "https://deno.land/x/chai@v5.0.0-alpha.2/test/bootstrap/index.js"; FunctionsfglobalErrValidate that the given function throws an error.