Course contentsShow
JavaScript
Lesson 2688 of 2,72354. Testing in JavaScriptPro lesson

Testing Promise Rejections

Asserting that a promise rejects with expect().rejects or try/catch patterns.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.