
Mocking an API with Polly.js
It is never easy to set up functional tests involving calls to an external API. Polly.js is a useful tool to know when you need to mock calls to an API.
Full-stack web developer at marmelab. Alexis worked on so many websites that he's a great software architect. He also loves horse riding.
It is never easy to set up functional tests involving calls to an external API. Polly.js is a useful tool to know when you need to mock calls to an API.
To make sure your site is accessible and fast, check it during the continuous integration process. Here is how to do it in practice.