expect-to-throw
Method to expect that an async function throws
Usage no npm install needed!
<script type="module">
import expectToThrow from 'https://cdn.skypack.dev/expect-to-throw';
</script>
Method to expect that an async function throws
<script type="module">
import expectToThrow from 'https://cdn.skypack.dev/expect-to-throw';
</script>