Assertion: rejected promise | /r/CapableOf | throw new error('oh
Facets:
Source sentences:
text: () return a rejected promise throw new Error('Oh no!'); }) .then
text: () return a rejected promise throw new Error('Oh no!'); }) .catch(error