Testing
The backend has various end-to-end tests and unit tests ensuring that anything related to using data and mentorship requests is functional.
Important Information
Setting up the testing credentials
# Ensuring that the correct credentials are used:
$ cd packages/server
$ cat .env-test > .env
$ cat .env
...
ALGOLIA_API_KEY=None
...Infrastructure
tests
βββ data
βΒ Β βββ index.ts
βββ e2e
βΒ Β βββ auth.ts
βΒ Β βββ main.ts
βΒ Β βββ mentorship.ts
βββ unit
βΒ Β βββ CommunicationService.ts
βΒ Β βββ MentorshipService.ts
βΒ Β βββ UserService.ts
βββ utils
βββ index.ts
4 directories, 8 filesRunning tests
Last updated