substantial / sinon-stub-promise

Synchronous Promise stubbing for Sinon.JS
MIT License
85 stars 11 forks source link

allow for resolves/rejects to be called in series #2

Closed amay closed 9 years ago

amay commented 9 years ago

It is possible when writing tests that you may end up calling resolves then rejects (or vice versa) and we should clear the alternative behavior when this happens.