Locally test the app during development
Local Unit Tests
Before submitting your updates, itβs crucial to verify they pass all unit tests. Follow these steps to run tests locally:
- 
Copy your .env.examplefile in the/apifolder and rename it to.envcreate a /api/.env filecp .env.example ./api/.env
- 
Add NODE_ENV=CIto your/api/.envfile
- 
npm run test:client
- 
npm run test:api
β οΈ
Warning