loading...

re: Why isn't this unit test catching an error from this async/await function? VIEW POST

FULL DISCUSSION
 

"It's one thing to get stuck on code - you don't have any choice but to fix it. But its another thing to get stuck on tests - with tests you technically can skip them."

This is very insightful. Thanks for that! This actually happens to me quite often and IMHO testing with Chai isn't as straightforward as it should be :-P There's too many situations like this. I got stuck a lot of times and when I didn't find a solution, lost interest in my project :-(

Code of Conduct Report abuse