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