This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Asserting that a promise rejects with expect().rejects or try/catch patterns.
You've completed the free preview. Subscribe to unlock every lesson in every course.