Tests are intended to be run either on development machines (
NODE_ENV=development) or on a test server such as circleci (
NODE_ENV=circleci). This documentation concentrates on the development testing experience.
We use Mocha for unit-testing and Cypress for end-to-end (e2e) testing. More details on setting up your local machine for tests can be found at, https://github.com/opencollective/opencollective-frontend/blob/main/docs/e2e.md.