Frontend

Frontend tests focus specifically on the Igbo API homepage using Cypress. First, run:

npm run build

To watch frontend tests, run:

npm run jest:frontend

Backend

Backend tests use both locally stored MongoDB and JSON data.

In one terminal, star the local database:

npm run start:database

In another terminal, run the backend tests:

npm run jest:backend