Plugin for the Unexpected assertion lib adding Promise support. Requires Unexpected 7 or above.
var expect = ;;;
Alternatively you can use the
when resolved and
assertions to replace the subject with the resolved value or rejection reason,
then apply another assertion to it:
Unexpected-promise is licensed under a standard 3-clause BSD license -- see the
LICENSE file for details.