mardi 21 août 2018

(Jest + Supertest) Testing of node applications that work with external APIs

Now i developing node (express) API service that integrates with another service by API (my application sends requests and gets responses from another server). Can I emulate response of external service when testing applcation? This will help make testing more accurate when the external api behaves unobviously

Aucun commentaire:

Enregistrer un commentaire