DenoDDeno
Powered by
MattBM
Denoβ€’2y agoβ€’
2 replies
MattB

assertThrows with async function

I'm using
assertThrows
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
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

assertThrows() limitations
jcayzacJjcayzac / help
3y ago
BDD with async tests
FjordWardenFFjordWarden / help
3y ago
async map
leighLleigh / help
3y ago