lundi 4 avril 2016

Mocking external API for unit testing in NodeJs

I spend now some hours for searching a library for mocking an external api in nodejs. I already tried the SinonJS library, but it seems not to work for external web calls... Does anybody know another library which allows the mocking of external web calls? Or do somebody have a working example for SinonJS?

Thank you for every answer!

Aucun commentaire:

Enregistrer un commentaire