typescript vs sinon-as-promised | What are the differences? | StackShare