The following is still part of the readme.md:
Just mock and expects as usual and use chain to expects the chained methods. Finally call resolves or rejects (remember to require sinon-as-promised).
However (going there):
Sinon 2 added resolves and rejects methods and no longer requires this library.
The following is still part of the readme.md:
However (going there):
Sinon 2 added resolves and rejects methods and no longer requires this library.