So I want to hit an endpoint in an API with inside a function, I want to stub the function for my test.
I used sinon alone and sinon + sinon-as-promised
But it always return true whatever I change.
Thanks,
Aucun commentaire:
Enregistrer un commentaire