Test if a promise throw an Error
Hi, few weeks ago I had to solve this problem,  If the API return 404 I want my code to Throw and...
Tags: webdev, javascript, programming, jest