Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 543 Bytes

File metadata and controls

28 lines (15 loc) · 543 Bytes

Testing

This project uses Jest for unit testing and Cypress for integration testing.

Unit Tests

To run: npm run test

Integration Tests

For local running, start a test db, redis, and wiremock instance by:

docker-compose -f docker-compose-test.yml up

Then run the server in test mode by:

npm run start-feature (or npm run start-feature:dev to run with nodemon)

And then either, run tests in headless mode with:

npm run int-test

Or run tests with the cypress UI:

npm run int-test-ui