Mockoon is a free and open source desktop application allowing to quickly mock HTTP responses. It is available for Windows, macOS and Linux.
Mockoon is used in this project to mock the API responses during the tests. This allows to test the application without having to rely on a real API.
To install Mockoon, please follow the official installation instructions.
To import the Mockoon configuration:
- Open Mockoon
- Click on the Open environment button
- Select the
mockoon.json
file located in thetests
directory of the project - Click on the Start server button
Now your Mockoon server is running and ready to receive requests on the :4000
port.