lib/test/promise
Api Code Documentation / Exports / lib/test/promise
Table of contents
Functions
Functions
assertIsRejectedWith
▸ assertIsRejectedWith(promise
): Promise
<void
>
Parameters
Name | Type |
---|---|
promise | Promise <any > |
Returns
Promise
<void
>
Defined in
assertIsResolved
▸ assertIsResolved(promise
, expectedResult?
): Promise
<void
>
Parameters
Name | Type |
---|---|
promise | Promise <any > |
expectedResult? | any |
Returns
Promise
<void
>