DEV Community

Discussion on: Why isn't this unit test catching an error from this async/await function?

Collapse
 
alexm77 profile image
Alex Mateescu

I don't know if it is my personal dislike of Javascript or async code being a bitch to test in general, but this is really convoluted. The stuff even seasoned programmers will get wrong more often than not.