End-to-end tests for CHT Sync can be found under tests/
.
Pre-requisites:
Node.js
version > 20
In order to run these end-to-end tests locally, follow the steps below:
- Install the dependencies via:
npm ci
- Run the
couch2pg
unit tests:
npm test
- Run the end-to-end tests:
npm run test:e2e