assertThrowsAsync
assertThrows
Deno.test("test DB function", async function () { await assertThrows(async () => { await db_call() }); }, );
Join the Discord to ask follow-up questions and connect with the community
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934 Members