should-reject
Return a promise which is resolved when the original promise is rejected, and rejected when the original promise is resolved
Example
var shouldReject = ;var login = ; //A function that returns a promise;
Return a promise which is resolved when the original promise is rejected, and rejected when the original promise is resolved
var shouldReject = ;var login = ; //A function that returns a promise;
npm i should-reject
0
1.1.0
ISC