Right now the portal has basically no test coverage, all testing and verification have been done manually.
Towards a solution:
Setting up test coverage will take a long time, and it's not straightforward.
Let's get 1 test that sets up mongo records, and is able to validate that 1 or 2 functions inside of a single router function is tested properly.
DoD:
[ ] We have a basic beforeEach test setup that initializes mongodb records for testing
[ ] We have 1 BE route that has been tested with a couple of use cases covered.
Problem:
Right now the portal has basically no test coverage, all testing and verification have been done manually.
Towards a solution:
Setting up test coverage will take a long time, and it's not straightforward. Let's get 1 test that sets up mongo records, and is able to validate that 1 or 2 functions inside of a single router function is tested properly.
DoD: