MattBM
Denoβ€’15mo agoβ€’
2 replies
MattB

assertThrows with async function

I'm using assertThrows with an async function and it doesn't seem to work no matter what I try. Any clues? The error is always thrown, but the test still fails.
Screenshot_2024-10-22_at_9.53.56_PM.png
Was this page helpful?